PhiO: Object-oriented filesystem library for PHP
  • Namespace
  • Class
  • Tree
  • Todo

Namespaces

  • amekusa
    • phio
  • PHP

Classes

  • Directory
  • File
  • FilePool
  • Filter
  • Perms
  • RegexFilter
  • RegFile

Exceptions

  • ErrorException
  • IOException

Class ErrorException

A catchable error representation

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

Methods summary

public static amekusa\phio\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\phio\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()

PhiO: Object-oriented filesystem library for PHP API documentation generated by ApiGen