Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add general exception for use with exception responses

  • Loading branch information...
commit 7ed973c5a13ecf9067faaddc8b822533f4f5ab51 1 parent b98a663
@lisp authored
Showing with 9 additions and 0 deletions.
  1. +9 −0 conditions.lisp
View
9 conditions.lisp
@@ -92,6 +92,15 @@
(defmethod thrift:type-of ((value thrift-error))
'struct)
+
+;;;
+;;; general exception response
+
+(thrift:def-exception "ResponseException"
+ "The general 'exception' response exception"
+ (("why" nil :id 1 :type string)
+ ("id" nil :id 2 :type i16)))
+
;;;
;;; concrete exceptions
Please sign in to comment.
Something went wrong with that request. Please try again.