Description of icon
Flex UI
API Reference

FlexError

The FlexError class is an extension of a normal JavaScript Error class, with added context. This class includes more info on errors to help pinpoint problems and consolidate the Flex UI API. You can learn more about troubleshooting Flex UI here


type: FlexErrorType#

type, indicating what part of the FlexUI caused the issue, the library itself or any of the sdks

logs: string#

gets you the logs associated with this Flex error.

logLine: string#

Represents log line

content: FlexErrorContents#

Flex content

sessionData: FlexError.SessionData#

Session data

debuggerIntegrationEnabled: boolean | undefined#

Whether or not the error should be sent to Twilio Debugger

resourceSid: string | undefined#

Sid of resource associated with error (workspace sid)

time: Date#

Date when the error has been triggered

logManagerTimestamp: string | undefined#

Timestamp related with the latest relevant log

Rate this page

Need some help?

We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd by visiting Twilio's Stack Overflow Collective or browsing the Twilio tag on Stack Overflow.