This API documentation is for Ballerina 1.2.0. View API documentation for the latest release.

Record - socket : Detail

Record type to hold the details of an error.

Fields

  • message string
  • The specific error message for the error.

  • cause error
  • The cause of the error if this error occurred due to another error