Class: Decidim::Api::Errors::UnauthorizedFieldError
- Inherits:
-
GraphQL::ExecutionError
- Object
- GraphQL::ExecutionError
- Decidim::Api::Errors::UnauthorizedFieldError
- Defined in:
- lib/decidim/api/errors/unauthorized_field_error.rb
Overview
i18n-tasks-use t(“decidim.api.errors.unauthorized_field”)
Instance Method Summary collapse
Instance Method Details
#to_h ⇒ Object
8 9 10 |
# File 'lib/decidim/api/errors/unauthorized_field_error.rb', line 8 def to_h super.merge({ "extensions" => { "code" => "UNAUTHORIZED_FIELD_ERROR" } }) end |