PLZ: A handy PHP library for lazy programmers
  • Namespace
  • Class
  • Tree
  • Todo

Namespaces

  • amekusa
    • plz
  • PHP

Classes

  • alt
  • arr
  • constant
  • dom
  • fn
  • num
  • obj
  • op
  • path
  • str
  • sys
  • T
  • type
  • xml

Exceptions

  • ErrorException

Class ErrorException

A catchable error representation

Exception
Extended by ErrorException
Extended by amekusa\plz\ErrorException
Namespace: amekusa\plz
Author: amekusa post@amekusa.com
Located at ErrorException.php

Methods summary

public static amekusa\plz\ErrorException
# create( string $Msg = null, integer $Code = null, integer $Severity = null, string $File = null, integer $Line = null, Exception $Previous = null )

Creates an instance

Creates an instance

Parameters

$Msg
[optional] The Exception message to throw
$Code
[optional] The Exception code
$Severity
[optional] The severity level of the exception
$File
[optional] The filename where the exception is thrown
$Line
[optional] The line number where the exception is thrown
$Previous
[optional] The previous exception used for the exception chaining

Returns

amekusa\plz\ErrorException
An instance
public
# trigger( boolean $ShowsStackTrace = false )

Triggers a PHP error

Triggers a PHP error

Parameters

$ShowsStackTrace
[optional] Whether to include the stack trace into the error message
public boolean
# shouldReport( )

Whether the current error reporting level satisfies this exception's severity

Whether the current error reporting level satisfies this exception's severity

Returns

boolean

Methods inherited from ErrorException

__construct(), getSeverity()

Methods inherited from Exception

__toString(), __wakeup(), getCode(), getFile(), getLine(), getMessage(), getPrevious(), getTrace(), getTraceAsString()

PLZ: A handy PHP library for lazy programmers API documentation generated by ApiGen