SilverStripe\SpellCheck\Handling\SpellController::error
Set the error.
Signature
protected function error(string
$message,
int
$code )
Parameters
$message
— string$code
— int- HTTP error code
protected function error(string
$message,
int
$code )
$message
—
string$code
—
int