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