module Trailblazer::Endpoint::Adapter::API::Errors::Handlers
Public Instance Methods
handle_invalid_data(ctx, errors:, **)
click to toggle source
# File lib/trailblazer/endpoint/adapter.rb, line 97 def handle_invalid_data(ctx, errors:, **) errors.message = "The submitted data is invalid." end
handle_not_authenticated(ctx, errors:, **)
click to toggle source
# File lib/trailblazer/endpoint/adapter.rb, line 89 def handle_not_authenticated(ctx, errors:, **) errors.message = "Authentication credentials were not provided or are invalid." end