You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: flavors/swagger-ui-react/README.md
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -200,6 +200,15 @@ Passes initial values to the Swagger UI state.
200
200
201
201
⚠️ This prop is currently only applied once, on mount. Changes to this prop's value will not be propagated to the underlying Swagger UI instance. A future version of this module will remove this limitation, and the change will not be considered a breaking change.
202
202
203
+
204
+
#### `uncaughtExceptionHandler`: PropTypes.func
205
+
206
+
Allows to define a custom uncaught exception handler. The default is `null`, which means that the default handler will be used.
207
+
The default handler will log the error to the console.
208
+
209
+
⚠️ This prop is currently only applied once, on mount. Changes to this prop's value will not be propagated to the underlying Swagger UI instance. A future version of this module will remove this limitation, and the change will not be considered a breaking change.
0 commit comments