Skip to content

add helper methods to check for common error types #336

Closed

Description

Feature Request

Add helper methods to easily check for common error types, e.g.

IsBadRequest(err) // 400
IsNotFound(err)  // 404
IsUnauthorized(err)  // 401
IsServiceUnavailable(err)  // 503
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions