enum

Kemal::ParamError::Reason

Inherits Enum < Comparable < Value < Object

Why a parameter failed: it was absent from the request (Missing), or it was present but couldn't be converted to the declared type (CastError).

Constants

Missing = 0
CastError = 1

Instance methods

cast_error?

Returns true if this enum value equals CastError

Source
missing?

Returns true if this enum value equals Missing

Source