1.0.2 • Published 9 months ago

@flickdawist/custom_error_handler v1.0.2

Weekly downloads
-
License
-
Repository
github
Last release
9 months ago

Custom Directus Data Flow Error

By default when throwing an error through script in Directus Flows return 500 INTERNAL_SERVER_ERROR. With this extension we could customize not only the error message but also the HTTP Code and Error Code for Directus to handle later.

The extension available in flows operator and expecting inputs as follow.

Previews

Directus Flow Operations Name : Throw Custom Error flow

flow

Result on api response flow

Result on Direcuts app popup message flow