PHP instance method
StateException->__construct
Parameters4
Coding name |
message
|
Description |
A natural language text that can be presented to the user to help them understand what is wrong and possibly correct the error.
|
Position |
1
|
Type |
String(Primitive type)
|
Coding name |
status
|
Description |
The status code that the exceptional response will have. Defaults to 400 Bad Request.
|
Position |
2
|
Type |
Integer(Primitive type)
|
Default value |
400
|
Coding name |
previous
|
Description |
The exception causing the StateException, if it exists.
|
Position |
3
|
Type |
Throwable(Primitive type)
|
Coding name |
actions
|
Description |
An associative array from URLs relative to the store URL to labels which will be rendered as buttons.
|
Position |
4
|
Type |
Array(Primitive type)
|
Default value |
There will be two buttons: one to go back (like Browser back) and one to go to the start page.
|
|
We are sorry
This page cannot be displayed in your browser. Use Firefox, Opera, Safari, or Chrome instead.