Class: AtlasEngine::Errors::LocaleUnsupportedError

Inherits:
GraphQL::ExecutionError
  • Object
show all
Defined in:
app/graphql/atlas_engine/errors/locale_unsupported_error.rb

Instance Method Summary collapse

Instance Method Details

#to_hObject



7
8
9
10
11
12
13
14
# File 'app/graphql/atlas_engine/errors/locale_unsupported_error.rb', line 7

def to_h
  super.merge(
    "extensions" => {
      "code" => "LOCALE_UNSUPPORTED",
      "attribute" => "locale",
    },
  )
end