ICanBoogie
  • Documentation
  • API Reference
  • Operation 4.0.x
Namespaces
  • ICanBoogie
    • Operation
Classes
  • BeforeControlEvent
  • BeforeProcessEvent
  • BeforeValidateEvent
  • ControlEvent
  • FailureEvent
  • GetFormEvent
  • Hooks
  • OperationRouteDefinition
  • OperationRouteDispatcher
  • ProcessEvent
  • RescueEvent
  • Response
  • ValidateEvent
Interfaces
  • Exception
Traits
  • ControlEventTrait
  • ValidateEventTrait
Exceptions
  • Failure
  • FormHasExpired
  • FormNotFound

Class Failure

Exception raised when an operation fails.

Exception implements Throwable
┗ ICanBoogie\Operation\Failure implements ICanBoogie\Operation\Exception uses ICanBoogie\Accessor\AccessorTrait (not available)
Namespace: ICanBoogie\Operation
Located at Operation/Failure.php

Methods summary

protected get_operation( void ) : ICanBoogie\Operation

Returns

ICanBoogie\Operation
protected get_previous( void ) : Exception

Returns

Exception
public __construct( ICanBoogie\Operation $operation, ICanBoogie\Operation\Exception $previous = null )

Initialize the $operation property.

Initialize the $operation property.

Parameters

$operation
$previous

Overrides

Exception::__construct
protected format_message( ICanBoogie\Operation $operation ) : string

Formats exception message.

Formats exception message.

Parameters

$operation

Returns

string

Methods inherited from Exception

__toString(), __wakeup(), getCode(), getFile(), getLine(), getMessage(), getPrevious(), getTrace(), getTraceAsString()

Properties summary

Properties inherited from Exception

$code, $file, $line, $message

Magic properties

public read-only $operation : ICanBoogie\Operation

The operation that failed.

public read-only $previous : Exception

The previous exception.

Operation 4.0.x – Check on GitHub – API documentation generated by ApiGen