PHP Class Zend\Stratigility\Exception\MiddlewareException

Inheritance: extends RuntimeExceptio\RuntimeException
Show file Open project: zendframework/zend-stratigility Class Usage Examples

Public Methods

Method Description
fromErrorValue ( mixed $err ) : self Create an instance based on an error value.

Private Methods

Method Description
fromType ( string $value ) : self Create an instance using a templated error string.

Method Details

fromErrorValue() public static method

Create an instance based on an error value.
public static fromErrorValue ( mixed $err ) : self
$err mixed
return self