Documentation

BreakException extends Exception
in package
implements Exception

A break exception, used for halting the Psy Shell.

Interfaces, Classes and Traits

Exception
An interface for Psy Exceptions.

Table of Contents

$rawMessage  : mixed
__construct()  : mixed
{@inheritdoc}
exitShell()  : mixed
Throws BreakException.
getRawMessage()  : string
Return a raw (unformatted) version of the error message.

Properties

Methods

__construct()

{@inheritdoc}

public __construct([mixed $message = '' ], mixed $code[, Exception $previous = null ]) : mixed
Parameters
$message : mixed = ''
$code : mixed
$previous : Exception = null
Return values
mixed

exitShell()

Throws BreakException.

public static exitShell() : mixed

Since throw can not be inserted into arbitrary expressions, it wraps with function call.

Tags
throws
BreakException
Return values
mixed

getRawMessage()

Return a raw (unformatted) version of the error message.

public getRawMessage() : string
Return values
string

Search results