Function: error
Checks if a Kirby response is an error response or not.
Info
Syntax
error($response)
Parameters
- $response (array) The Kirby response array
Return (boolean)
Returns true if the response is an error, returns false if no error occurred