Sha256: 3d7e986c3f947132be6c2c6a9944d5b2d406c2c23f7b38b068c48cf1fcc50316

Contents?: true

Size: 354 Bytes

Versions: 4

Compression:

Stored size: 354 Bytes

Contents

# frozen_string_literal: true

module SolidusGraphqlApi
  module Types
    class UserError < Types::Base::Object
      description "A user-readable error"

      field :message, String, null: false, description: "A description of the error"
      field :path, [String], null: true, description: "Which input value this error came from"
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
solidus_graphql_api-0.3.1 lib/solidus_graphql_api/types/user_error.rb
solidus_graphql_api-0.3.0 lib/solidus_graphql_api/types/user_error.rb
solidus_graphql_api-0.2.0 lib/solidus_graphql_api/types/user_error.rb
solidus_graphql_api-0.1.0 lib/solidus_graphql_api/types/user_error.rb