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::
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
]