Transitioned from obsolete gateway object classes (`edge_gateway_shell_action_jobs_o`, `edge_gateway_shell_events_o`, `edge_gateway_shell_sessions_o`, `edge_gateway_update_jobs_o`) to the new agent implementation (`edge-gateway-agent/agent.php`).
17 lines
309 B
PHP
17 lines
309 B
PHP
<?php
|
|
|
|
namespace classes;
|
|
|
|
use Exception;
|
|
|
|
class edge_gateway_operation_exception extends Exception
|
|
{
|
|
public function __construct(
|
|
string $message,
|
|
public readonly string $errorCode,
|
|
public readonly int $status = 400
|
|
) {
|
|
parent::__construct($message, $status);
|
|
}
|
|
}
|