Skip to content

How to throw an error from a handler? #172

@harendra-kumar

Description

@harendra-kumar

In a field handler if we figure that the field value does not exist in the database or the argument passed has an invalid value how do we communicate this? We can use a Maybe handler but that does not communicate error properly. I tried grokking this a little bit but could not figure out a way to do this. The documentation, tutorial also does not say anything about error handling.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions