Documentation

TypeErrorException extends Exception
in package
implements Exception

A "type error" Exception for Psy.

Interfaces, Classes and Traits

Exception
An interface for Psy Exceptions.

Table of Contents

$rawMessage  : mixed
__construct()  : mixed
Constructor!
fromTypeError()  : TypeErrorException
Create a TypeErrorException from a TypeError.
getRawMessage()  : string
Get the raw (unformatted) message for this error.

Properties

Methods

__construct()

Constructor!

public __construct([string $message = '' ], int $code) : mixed
Parameters
$message : string = ''

(default: "")

$code : int

(default: 0)

Return values
mixed

getRawMessage()

Get the raw (unformatted) message for this error.

public getRawMessage() : string
Return values
string

Search results