Sha256: db053aa072029baf436f564bca94c672177a6964ce7b2c0d0148c207d78f102d
Contents?: true
Size: 570 Bytes
Versions: 28
Compression:
Stored size: 570 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 class MissingUserModel < Error def to_s "A model `User` is missing in the app !" end end end
Version data entries
28 entries across 28 versions & 1 rubygems