Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
action-controller
v7.4.4
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
Generated using Crystal 1.14.0
2024-11-08 08:11:15 UTC
class
ActionController::
Route::
Error
ActionController::Route::Error
Exception
Reference
Object
Overview
the base class for all route related errors
Direct Known Subclasses
ActionController::Route::NotAcceptable
ActionController::Route::UnsupportedMediaType
Defined in:
action-controller/router/builder.cr
Constructors
.new
(message : String | Nil =
nil
, accepts : Array(String) | Nil =
nil
)
Instance Method Summary
#accepts
: Array(String) | Nil
Constructor Detail
def self.
new
(message : String | Nil =
nil
, accepts : Array(String) | Nil =
nil
)
#
[
View source
]
Instance Method Detail
def
accepts
: Array(String) | Nil
#
[
View source
]