ICanBoogie
  • Documentation
  • API Reference
  • Operation v2.1.3
Namespaces
  • ICanBoogie
    • Operation
      • Dispatcher
Classes
  • BeforeControlEvent
  • BeforeProcessEvent
  • BeforeValidateEvent
  • ControlEvent
  • Dispatcher
  • FailureEvent
  • GetFormEvent
  • PingOperation
  • 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 Failure.php

Methods summary

protected get_operation( void )
protected get_previous( void )
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 )

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 v2.1.3 – Check on GitHub – API documentation generated by ApiGen