UNPKG

proton-quark-exception

Version:

Load exceptions and use them with proton microframework

13 lines (11 loc) 353 B
# proton-quark-exception Build functions for handling errors defined in a JSON file for the proton microframework. These functions return an object with the structure: ```sh { "description": "Defined description for error", "message": "Error message passed to function", "code": "code defined for error" } ``` More information in the test.