eloquent/pathogen API
Class

Eloquent\Pathogen\Exception\AbstractInvalidPathException

abstract class AbstractInvalidPathException extends Exception implements InvalidPathExceptionInterface

Abstract base class for exceptions implementing InvalidPathExceptionInterface.

Methods

__construct(PathInterface $path, Exception $previous = null)

Construct a new invalid path exception.

PathInterface path()

Get the invalid path.

string reason()

Get the reason message.

Details

at line 30
public __construct(PathInterface $path, Exception $previous = null)

Construct a new invalid path exception.

Parameters

PathInterface $path The invalid path.
Exception $previous The cause, if available.

at line 50
public PathInterface path()

Get the invalid path.

Return Value

PathInterface The invalid path.

at line 60
abstract public string reason()

Get the reason message.

Return Value

string The reason message.