Skip to content

\Einvoicing\Exceptions\ValidationException

__construct()

Class constructor

public __construct($message: string, $brId: string|null = null)

Parameters

  • $message: string — Exception message
  • $brId: string|null — Business rule ID

getBusinessRuleId()

Get business rule ID

public getBusinessRuleId(): string|null

Returns

  • string|null — Business rule ID