Documentation
¶
Overview ¶
Package errors contains the mappings and functions that standardize errors returned from the API to SDK's clients.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorFromGraphqlError ¶
ErrorFromGraphqlError returns an SDK error type from a GraphQL error.
func ErrorFromGraphqlProblems ¶
func ErrorFromGraphqlProblems(problems []internal.GraphQLProblem) error
ErrorFromGraphqlProblems returns an SDK error from GraphQL problems.
func ErrorFromHTTPResponse ¶
ErrorFromHTTPResponse returns an SDK error from an HTTP response.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.