Skip to content

Raise exception with custom class #304

Description

@bouk

Hi there,

Currently, if no application default credentials were found, a RuntimeError with a constant error message is raised. This should be a custom class instead, so it can be caught in a rescue block.

This pattern is also done in web_user_authorizer.rb and user_authorizer

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions