Sha256: 8952021254831c77eedac60c2900c399cc197f84d0869e1793c3ee23f3046bd3
Contents?: true
Size: 671 Bytes
Versions: 5
Compression:
Stored size: 671 Bytes
Contents
# frozen_string_literal: true require_relative 'json_schema/schemas' module Meta module Errors class NoMatchingRoute < StandardError; end class ParameterInvalid < JsonSchema::ValidationErrors def initialize(errors) super(errors, "参数异常:#{errors}") end end class RenderingInvalid < JsonSchema::ValidationErrors def initialize(errors) super(errors, "渲染实体异常:#{errors}") end end class RenderingError < StandardError; end class NotAuthorized < StandardError; end class ResourceNotFound < StandardError; end class UnsupportedContentType < StandardError; end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
meta-api-0.0.5 | lib/meta/errors.rb |
meta-api-0.0.4 | lib/meta/errors.rb |
meta-api-0.0.3 | lib/meta/errors.rb |
meta-api-0.0.2 | lib/meta/errors.rb |
meta-api-0.0.1 | lib/meta/errors.rb |