chickadee » json-rpc » make-json-rpc-custom-error

make-json-rpc-custom-error error-symbol #!optional msgprocedure

Create an error instance of error-symbol (symbol) with an optional msg (string). It's an error if error-type isn't defined in custom-error-codes.