Sha256: b90f8a270c819c909e640f8c4df96e304def7011e93f73bce00ce4f4dc5e52cd
Contents?: true
Size: 593 Bytes
Versions: 7
Compression:
Stored size: 593 Bytes
Contents
module SoberSwag module Reporting ## # Thrown we cannot generate a swagger schema for some reason. # # This typically only occurs if you use types that are too complicated. # For example, an object type cannot be used as part of the path params. class InvalidSchemaError < StandardError def initialize(input) @input = input super("Could not generate schema for #{input}") end attr_reader :input class InvalidForPathError < InvalidSchemaError; end class InvalidForQueryError < InvalidSchemaError; end end end end
Version data entries
7 entries across 7 versions & 1 rubygems