Sha256: 2df0bc3b66116ad437fa0effabda2ffb24fcd53dcd818325578c6491001f52c1
Contents?: true
Size: 568 Bytes
Versions: 4
Compression:
Stored size: 568 Bytes
Contents
# This file is generated by taro. # This and ErrorsType are a starting point for unified error presentation. # You can use them to render errors from various sources (ActiveRecord etc.) # and render error responses in rescue_from in a consistent way. # You can customize these files to fit your needs, or delete them. class ErrorType < ObjectType field :attribute, type: 'String', null: true, desc: 'Attribute name' field :code, type: 'String', null: false, method: :type, desc: 'Error code' field :message, type: 'String', null: true, desc: 'Error message' end
Version data entries
4 entries across 4 versions & 1 rubygems