Open Sidebar
Close Sidebar
action-controller
master
AC
ActionController
Base
CookieSizeExceeded
Error
CommonResponse
Conflict
ContentResponse
Forbidden
NotFound
ParameterResponse
Unauthorized
InvalidRoute
InvalidSignature
OpenAPI
Param
Converter
Info
Responders
Route
Builder
DELETE
Error
Exception
Filter
GET
NotAcceptable
OPTIONS
Param
Conversion
Error
MissingError
ValueError
PATCH
POST
PUT
UnsupportedMediaType
WebSocket
Server
Session
HabitatSettings
SpecHelper
class
ActionController::
Route::
Param::
Error
ActionController::Route::Param::Error
ArgumentError
Exception
Reference
Object
Overview
Handle this to return a 404
Direct Known Subclasses
ActionController::Route::Param::MissingError
ActionController::Route::Param::ValueError
Defined in:
action-controller/router/route_params.cr
Constructors
.new
(message, parameter : Nil | String =
nil
, restriction : Nil | String =
nil
)
Instance Method Summary
#parameter
: String | Nil
#restriction
: String | Nil
Constructor Detail
def self.
new
(message, parameter : Nil | String =
nil
, restriction : Nil | String =
nil
)
#
[
View source
]
Instance Method Detail
def
parameter
: String | Nil
#
[
View source
]
def
restriction
: String | Nil
#
[
View source
]