Skip to main content

ErrorHandlingOptions

FitFileViewer - API Documentation v29.4.0


FitFileViewer - API Documentation / utils/errors/errorHandling / ErrorHandlingOptions

Interface: ErrorHandlingOptions

Defined in: utils/errors/errorHandling.js:18

Properties​

failSafe?​

optional failSafe: boolean

Defined in: utils/errors/errorHandling.js:19

Whether to fail safely (return fallback) or throw


fallback?​

optional fallback: any

Defined in: utils/errors/errorHandling.js:20

Fallback value for fail-safe mode


logError?​

optional logError: boolean

Defined in: utils/errors/errorHandling.js:21

Whether to log the error


logLevel?​

optional logLevel: string

Defined in: utils/errors/errorHandling.js:22

Log level (debug, info, warn, error)


notify?​

optional notify: boolean

Defined in: utils/errors/errorHandling.js:23

Whether to show user notification


notificationType?​

optional notificationType: string

Defined in: utils/errors/errorHandling.js:24

Notification type (error, warning, info)