Sha256: 7ae859befba51237edbf65ef54659f3f0c013a9985ec3e6a13ae387c16169da5
Contents?: true
Size: 414 Bytes
Versions: 19
Compression:
Stored size: 414 Bytes
Contents
# frozen_string_literal: true module GraphqlRails # base class which is returned in case something bad happens. Contains all error rendering tructure class ExecutionError < GraphQL::ExecutionError def to_h super.except('locations').merge('type' => type, 'http_status_code' => http_status_code) end def type 'system_error' end def http_status_code 500 end end end
Version data entries
19 entries across 18 versions & 1 rubygems