Exception: StrapiRuby::ServerError
- Inherits:
-
ClientError
- Object
- StandardError
- ClientError
- StrapiRuby::ServerError
- Defined in:
- lib/strapi_ruby/errors/client_error.rb
Instance Method Summary collapse
-
#initialize(message, status) ⇒ ServerError
constructor
A new instance of ServerError.
Constructor Details
#initialize(message, status) ⇒ ServerError
Returns a new instance of ServerError.
40 41 42 |
# File 'lib/strapi_ruby/errors/client_error.rb', line 40 def initialize(, status) super("#{ErrorMessage.strapi_server_status} #{status}: #{message}. Please try again later.") end |