ErrLookup › ruby-grape/grape

ruby-grape/grape

An opinionated framework for creating REST-like APIs in Ruby. · Ruby · 169 source files

Analyzed at 22d7975629 on 2026-08-21. 41 documented errors.

Code / MessageTypeSeverityTags
type #{type} should support coercion via `[]`
exception error grape, dry-types, params, coercion, type-declaration
#declared is not available prior to parameter validation
exception error grape, declared, params, lifecycle, before-filter
Representation of type #{representation.class} cannot be mer
exception error grape, present, entity, response-body, merge
Status code must be Integer or Symbol.
exception error grape, http-status, status, argument-type, rack
Argument must be a file path
exception error grape, sendfile, file-path, argument-type, streaming
Stream object must respond to :each.
exception error grape, stream, stream-body, enumerable, response
group type is required
exception error grape, params, optional, group-type, nested-params
group type must be Array, Hash, JSON or Array[JSON]
exception error grape, params, group-type, optional, type-declaration
rescue_from #{meta_selector.inspect} does not accept additio
exception error grape, rescue-from, error-handling, dsl
both :with option and block cannot be passed
exception error grape, rescue-from, handler, argument-conflict
with: #{with.class}, expected Symbol, String or Proc
exception error grape, rescue-from, with-option, handler, argument-type
Either contract or block must be provided
exception error grape, contract, dry-validation, params, dsl
Cannot inherit from contract, only schema
exception error grape, contract, dry-validation, dry-schema, inheritance
unknown :using for versioner: %{strategy}
exception error grape, versioning, middleware, configuration
unknown params_builder: %{params_builder_type}
exception error grape, params-builder, registry, configuration
a block is required
exception error grape, testing, before-each, block, rspec
unknown validator: %{validator_type}
exception error grape, validators, params, registry, typo
required field not exist: #{field}
exception error grape, params, using, except, field-mismatch
group type is required
exception error grape, params, requires, group-type, nested-params
group type must be Array, Hash, JSON or Array[JSON]
exception error grape, params, requires, group-type, type-declaration
must supply type for coerce_with
exception error grape, params, coercion, coerce-with, argumenterror, dsl
coerce_with disallowed for type: JSON
exception error grape, params, coercion, json, argumenterror, dsl
oneof: requires type: Hash
exception error grape, params, oneof, validation, argumenterror, dsl
oneof: must be a non-empty Array of blocks
exception error grape, params, oneof, validation, argumenterror, dsl
oneof: each variant must be a Proc
exception error grape, params, oneof, validation, argumenterror, dsl
Unknown type: #{type}
exception error grape, params, types, coercion, dry-types, argumenterror
:type may not be supplied with :types
exception error grape, params, types, validation, argumenterror, dsl
except_values Proc must have arity of zero (use values: with
exception error grape, params, except-values, proc-arity, argumenterror
min #{@min} cannot be greater than max #{@max}
exception error grape, params, length-validation, range, argumenterror
is must be an integer greater than zero
exception error grape, params, length-validation, argumenterror, config
is cannot be combined with min or max
exception error grape, params, length-validation, argumenterror, conflicting-options
#{name} must be an integer greater than or equal to zero
exception error grape, params, length-validation, argumenterror, config
Grape: helper method `#{name}` overrides Grape::Endpoint##{n
console warning grape, helpers, endpoint, shadowing, warning
Passing a positional options Hash to `desc` is deprecated. P
console warning grape, desc, deprecation, ruby3-keywords, dsl
Passing a positional options Hash to `#{method_name}` is dep
console warning grape, params, deprecation, ruby3-keywords, dsl
Passing a positional options Hash to `#{method_name}` is dep
console warning grape, auth, deprecation, ruby3-keywords, dsl
`#{self.class.name}#[]` is deprecated. Use the named accesso
console warning grape, middleware, deprecation, options, data-struct
Returning or throwing a Hash from a rescue handler is deprec
console warning grape, rescue-from, deprecation, error-handling, middleware
`Grape::Router.normalize_path` is deprecated. Use `Grape::Ut
console warning grape, router, deprecation, paths
Grape: rescue_from #{klass} was already registered in this s
console warning grape, rescue-from, exception-handling, warning, dsl
Grape: rescue_from #{klass} will never run — #{covered_by} w
console warning grape, rescue-from, ruby, error-handling, dead-code, registration-order, stderr-warning