Function: error

Checks if a Kirby response is an error response or not.

Info

Syntax

error($response)

Parameters

Return (boolean)

Returns true if the response is an error, returns false if no error occurred