Skip to content

Being able to return errors from a method callback #249

@adriweb

Description

@adriweb

Hi,

I'd like to know if, for methods, there's a way to return errors ourselves (for instance, if some specific request content/value isn't valid) instead of just filling the response value (that's fine when everything's as expected)
It's OK for me if I have to write the full response JSON myself, I guess, but my feeling is that we're possibly a bit too limited right now as to what we can access from the method callbacks, unless I missed something.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions