Sha256: ee05462ef553fa5cf7da1175b29fa592e05b5af36954c1b479ab2684cce97a9f
Contents?: true
Size: 460 Bytes
Versions: 23
Compression:
Stored size: 460 Bytes
Contents
module Adeia class Error < StandardError; end class LoginRequired < Error def to_s I18n.t("exceptions.messages.login_required") end end class AccessDenied < Error def to_s I18n.t("exceptions.messages.access_denied") end end class MissingParams < Error def initialize(params) @params = params end def to_s I18n.t("exceptions.messages.missing_params", params: @params) end end end
Version data entries
23 entries across 23 versions & 1 rubygems