Documentation

HistoryTableResolutionException extends BaseException

Exception thrown when unable to resolve the history table for a node

This exception is thrown when the system cannot determine the appropriate history table for a given node ID, which is required for operations like time series data retrieval.

Table of Contents

Properties

$context  : array<string|int, mixed>

Methods

__construct()  : mixed
BaseException constructor.
addContext()  : $this
Add additional context data to the exception
format()  : string
Format the exception for logging or display
getContext()  : array<string|int, mixed>
Get additional context data for the exception

Properties

$context

protected array<string|int, mixed> $context = []

Additional context data for the exception

Methods

__construct()

BaseException constructor.

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

The exception message

$code : int = 0

The exception code

$previous : Throwable|null = null

Previous exception used for exception chaining

$context : array<string|int, mixed> = []

Additional context data for debugging

addContext()

Add additional context data to the exception

public addContext(string $key, mixed $value) : $this
Parameters
$key : string

Context key

$value : mixed

Context value

Return values
$this

format()

Format the exception for logging or display

public format() : string
Return values
string

getContext()

Get additional context data for the exception

public getContext() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results