CopilotError
extends Error
Table of Contents
Constants
-
AI_NOT_INSTALLED
= 'COPILOT_NOT_INSTALLED'
-
IDENTICAL_ROLE
= 'IDENTICAL_ROLE'
-
NOT_FOUND
= 'NOT_FOUND'
-
ROLE_NOT_FOUNT
= 'ROLE_NOT_FOUNT'
-
WRONG_CHAT_TYPE
= 'WRONG_CHAT_TYPE'
Methods
-
__construct()
: mixed
-
getDescription()
: string
-
setDescription()
: void
AI_NOT_INSTALLED
public
mixed
AI_NOT_INSTALLED
= 'COPILOT_NOT_INSTALLED'
IDENTICAL_ROLE
public
mixed
IDENTICAL_ROLE
= 'IDENTICAL_ROLE'
NOT_FOUND
public
mixed
NOT_FOUND
= 'NOT_FOUND'
ROLE_NOT_FOUNT
public
mixed
ROLE_NOT_FOUNT
= 'ROLE_NOT_FOUNT'
WRONG_CHAT_TYPE
public
mixed
WRONG_CHAT_TYPE
= 'WRONG_CHAT_TYPE'
__construct()
public
__construct(string $code, mixed ...$args) : mixed
Parameters
-
$code
: string
-
-
$args
: mixed
-
getDescription()
public
getDescription() : string
setDescription()
public
setDescription(string $description) : void
Parameters
-
$description
: string
-