Class ScopeNotDefined
Exception thrown in attempt to obtain a scope that is not defined.
- Exception implements Throwable
- ┗ LogicException
- ┗ ICanBoogie\ActiveRecord\ScopeNotDefined implements ICanBoogie\ActiveRecord\Exception uses ICanBoogie\Accessor\AccessorTrait (not available)
Methods summary
public
__construct( string $scope_name
, ICanBoogie\ActiveRecord\Model
$model
, integer $code
= 500, ICanBoogie\ActiveRecord\Exception
$previous
= null )
Initializes the $scope_name and $model properties.
protected
format_message( string $scope_name
, ICanBoogie\ActiveRecord\Model
$model
)
: string
Formats exception message.
Methods inherited from Exception
__toString()
,
__wakeup()
,
getCode()
,
getFile()
,
getLine()
,
getMessage()
,
getPrevious()
,
getTrace()
,
getTraceAsString()
Properties summary
Properties inherited from Exception
$code
,
$file
,
$line
,
$message