ProfileController::httpError
Throws a HTTP error response encased in a {@link SS_HTTPResponse_Exception}, which is later caught in {@link RequestHandler::handleAction()} and returned to the user.
Signature
public function httpError(int
$errorCode,
[string
$errorMessage = NULL] )
Parameters
$errorCode
— int$errorMessage
— string- Plaintext error message