Easily debug and handle errors
data
and
errors
sections. Modus allows for the inclusion of error codes or messages
within the errors
section to allow for downstream processing in addition to
debugging.
console.error
, allowing the function to
continue. The GraphQL response may have both a data
section and an errors
section.
throw
keyword or the Go
idiomatic error object to stop the functionβs execution.