Agent Server Errors

Receive errors from the server if an issue has occurred.

What is the Error Message

A notification from the server something has triggered an error.

Receiving Error

The server will send an Error message to notify the client that something has gone wrong.

{
  "type": "Error",
  "message": "" // A description of what went wrong
}

Conclusion

The Error message is sent by the server to inform the client that an issue has occurred. It includes a descriptive message explaining the nature of the error, enabling the client to diagnose and address the problem. This ensures better error handling and more robust communication between the client and server.