SlotFlow API Documentation

SlotFlowLogicException extends LogicException
in package
implements SlotFlowExceptionInterface

Raised when SlotFlow detects an invalid internal or object state transition.

Table of Contents

Interfaces

SlotFlowExceptionInterface
Marker interface for all exceptions thrown by the SlotFlow library.

Properties

$debugContext  : array<string|int, mixed>

Methods

__construct()  : mixed
Create one SlotFlow logic exception with optional structured debug context.
debugContext()  : array<string, mixed>
Return structured details about the invalid state that caused the exception.

Properties

Methods

__construct()

Create one SlotFlow logic exception with optional structured debug context.

public __construct([string $message = '' ][, array<string, mixed> $debugContext = [] ][, int $code = 0 ][, Throwable|null $previous = null ]) : mixed
Parameters
$message : string = ''
$debugContext : array<string, mixed> = []
$code : int = 0
$previous : Throwable|null = null

debugContext()

Return structured details about the invalid state that caused the exception.

public debugContext() : array<string, mixed>
Attributes
#[Override]
Return values
array<string, mixed>

        
On this page

Search results