Sha256: f1fc6e16c228dfb119dc46eda411ec2219608cb13ccb21b3042c72df76c75180
Contents?: true
Size: 676 Bytes
Versions: 8
Compression:
Stored size: 676 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
8 entries across 8 versions & 1 rubygems