Sha256: 1765294b26d64c3d377ea663d8815004e77909b03b1787f14f78398332e992c7
Contents?: true
Size: 1.75 KB
Versions: 2
Compression:
Stored size: 1.75 KB
Contents
module JSONAPI VALIDATION_ERROR = 100 INVALID_RESOURCE = 101 FILTER_NOT_ALLOWED = 102 INVALID_FIELD_VALUE = 103 INVALID_FIELD = 104 PARAM_NOT_ALLOWED = 105 PARAM_MISSING = 106 INVALID_FILTER_VALUE = 107 COUNT_MISMATCH = 108 KEY_ORDER_MISMATCH = 109 KEY_NOT_INCLUDED_IN_URL = 110 INVALID_INCLUDE = 112 RELATION_EXISTS = 113 INVALID_SORT_CRITERIA = 114 INVALID_LINKS_OBJECT = 115 TYPE_MISMATCH = 116 INVALID_PAGE_OBJECT = 117 INVALID_PAGE_VALUE = 118 INVALID_SORT_FORMAT = 119 INVALID_FIELD_FORMAT = 120 FORBIDDEN = 403 RECORD_NOT_FOUND = 404 UNSUPPORTED_MEDIA_TYPE = 415 LOCKED = 423 TEXT_ERRORS = { VALIDATION_ERROR => 'VALIDATION_ERROR', INVALID_RESOURCE => 'INVALID_RESOURCE', FILTER_NOT_ALLOWED => 'FILTER_NOT_ALLOWED', INVALID_FIELD_VALUE => 'INVALID_FIELD_VALUE', INVALID_FIELD => 'INVALID_FIELD', PARAM_NOT_ALLOWED => 'PARAM_NOT_ALLOWED', PARAM_MISSING => 'PARAM_MISSING', INVALID_FILTER_VALUE => 'INVALID_FILTER_VALUE', COUNT_MISMATCH => 'COUNT_MISMATCH', KEY_ORDER_MISMATCH => 'KEY_ORDER_MISMATCH', KEY_NOT_INCLUDED_IN_URL => 'KEY_NOT_INCLUDED_IN_URL', INVALID_INCLUDE => 'INVALID_INCLUDE', RELATION_EXISTS => 'RELATION_EXISTS', INVALID_SORT_CRITERIA => 'INVALID_SORT_CRITERIA', INVALID_LINKS_OBJECT => 'INVALID_LINKS_OBJECT', TYPE_MISMATCH => 'TYPE_MISMATCH', INVALID_PAGE_OBJECT => 'INVALID_PAGE_OBJECT', INVALID_PAGE_VALUE => 'INVALID_PAGE_VALUE', INVALID_SORT_FORMAT => 'INVALID_SORT_FORMAT', INVALID_FIELD_FORMAT => 'INVALID_FIELD_FORMAT', FORBIDDEN => 'FORBIDDEN', RECORD_NOT_FOUND => 'RECORD_NOT_FOUND', UNSUPPORTED_MEDIA_TYPE => 'UNSUPPORTED_MEDIA_TYPE', LOCKED => 'LOCKED' } end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
jsonapi-resources-0.3.3 | lib/jsonapi/error_codes.rb |
jsonapi-resources-0.3.2 | lib/jsonapi/error_codes.rb |