PHPAPI reference
Errors
Errors in the PHP SDK.
// access
$nexus->errors()Errors
classclass Inverge\Nexus\Resource\ErrorsError monitoring — report exceptions/messages from your backend.
View source__construct
constructorfunction __construct(Inverge\Nexus\NexusClient $client)Parameters
Prop
Type
capture()
methodfunction capture(string $message, array $options = []): arrayCapture an error by message.
Parameters
Prop
Type
Returns array<mixed>
captureException()
methodfunction captureException(Throwable $exception, array $options = []): arrayCapture a PHP \Throwable — derives the type, message and a
structured stacktrace the console renders.
Parameters
Prop
Type
Returns array<mixed>
