PHP Class Exceptions\Operation\InvalidOperationException

Use this exception sparingly and create sub exceptions of this exceptions to be more verbose when necessary.
Author: Mathieu Dumoulin aka CrazyCodr ([email protected])
Inheritance: extends OperationException
Show file Open project: crazycodr/standard-exceptions

Public Methods

Method Description
__construct ( $message = 'The attempted operation resulted in an unexpected/invalid state and cannot continue', $code, $previous = null )

Method Details

__construct() public method

public __construct ( $message = 'The attempted operation resulted in an unexpected/invalid state and cannot continue', $code, $previous = null )