@genesislcap/foundation-errors 14.407.0 → 14.408.0-icon-renderer.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -48
- package/package.json +10 -10
- package/docs/api/foundation-errors.confirmingaction.action.md +0 -11
- package/docs/api/foundation-errors.confirmingaction.label.md +0 -11
- package/docs/api/foundation-errors.confirmingaction.md +0 -77
- package/docs/api/foundation-errors.dismissingaction.action.md +0 -11
- package/docs/api/foundation-errors.dismissingaction.label.md +0 -11
- package/docs/api/foundation-errors.dismissingaction.md +0 -79
- package/docs/api/foundation-errors.errorbanner.confirmingactions.md +0 -11
- package/docs/api/foundation-errors.errorbanner.dismissingaction.md +0 -11
- package/docs/api/foundation-errors.errorbanner.md +0 -81
- package/docs/api/foundation-errors.errorbannerbuilder.build.md +0 -19
- package/docs/api/foundation-errors.errorbannerbuilder.md +0 -76
- package/docs/api/foundation-errors.errorbannerbuilder.withconfirmingaction.md +0 -55
- package/docs/api/foundation-errors.errorbannerbuilder.withdismissingaction.md +0 -55
- package/docs/api/foundation-errors.errorboundaryevent.md +0 -48
- package/docs/api/foundation-errors.errorbuilder.build.md +0 -18
- package/docs/api/foundation-errors.errorbuilder.md +0 -160
- package/docs/api/foundation-errors.errorbuilder.withalert.md +0 -55
- package/docs/api/foundation-errors.errorbuilder.withbanner.md +0 -55
- package/docs/api/foundation-errors.errorbuilder.withdialog.md +0 -55
- package/docs/api/foundation-errors.errorbuilder.witherrordetails.md +0 -55
- package/docs/api/foundation-errors.errorbuilder.withloglevel.md +0 -53
- package/docs/api/foundation-errors.errorbuilder.withnotification.md +0 -55
- package/docs/api/foundation-errors.errorbuilder.withsnackbar.md +0 -55
- package/docs/api/foundation-errors.errorbuilder.withtitle.md +0 -55
- package/docs/api/foundation-errors.errordialog.confirmingactions.md +0 -11
- package/docs/api/foundation-errors.errordialog.dismissingaction.md +0 -11
- package/docs/api/foundation-errors.errordialog.md +0 -81
- package/docs/api/foundation-errors.errordialogbuilder.build.md +0 -19
- package/docs/api/foundation-errors.errordialogbuilder.md +0 -76
- package/docs/api/foundation-errors.errordialogbuilder.withconfirmingaction.md +0 -55
- package/docs/api/foundation-errors.errordialogbuilder.withdismissingaction.md +0 -55
- package/docs/api/foundation-errors.errornotification.autoclose.md +0 -11
- package/docs/api/foundation-errors.errornotification.closetimeout.md +0 -11
- package/docs/api/foundation-errors.errornotification.md +0 -123
- package/docs/api/foundation-errors.errornotification.position.md +0 -11
- package/docs/api/foundation-errors.errornotification.type.md +0 -11
- package/docs/api/foundation-errors.errornotificationposition.md +0 -13
- package/docs/api/foundation-errors.errornotificationtype.md +0 -13
- package/docs/api/foundation-errors.errorstructure.config.md +0 -18
- package/docs/api/foundation-errors.errorstructure.errordetails.md +0 -11
- package/docs/api/foundation-errors.errorstructure.loglevel.md +0 -11
- package/docs/api/foundation-errors.errorstructure.md +0 -119
- package/docs/api/foundation-errors.errorstructure.title.md +0 -11
- package/docs/api/foundation-errors.geterrorbanneranchor.md +0 -55
- package/docs/api/foundation-errors.geterrorbannerbuilder.md +0 -17
- package/docs/api/foundation-errors.geterrorbuilder.md +0 -17
- package/docs/api/foundation-errors.geterrorcontainer.md +0 -71
- package/docs/api/foundation-errors.geterrordetails.md +0 -56
- package/docs/api/foundation-errors.geterrordialogbuilder.md +0 -17
- package/docs/api/foundation-errors.getloglevel.md +0 -56
- package/docs/api/foundation-errors.getnotificationbuilder.md +0 -17
- package/docs/api/foundation-errors.getsnackbarbuilder.md +0 -17
- package/docs/api/foundation-errors.md +0 -378
- package/docs/api/foundation-errors.notificationbuilder.build.md +0 -19
- package/docs/api/foundation-errors.notificationbuilder.md +0 -104
- package/docs/api/foundation-errors.notificationbuilder.withautoclose.md +0 -55
- package/docs/api/foundation-errors.notificationbuilder.withclosetimeout.md +0 -55
- package/docs/api/foundation-errors.notificationbuilder.withposition.md +0 -55
- package/docs/api/foundation-errors.notificationbuilder.withtype.md +0 -55
- package/docs/api/foundation-errors.showbanner.md +0 -85
- package/docs/api/foundation-errors.showerror.md +0 -87
- package/docs/api/foundation-errors.snackbar.confirmingactions.md +0 -11
- package/docs/api/foundation-errors.snackbar.md +0 -81
- package/docs/api/foundation-errors.snackbar.type.md +0 -11
- package/docs/api/foundation-errors.snackbarbuilder.build.md +0 -19
- package/docs/api/foundation-errors.snackbarbuilder.md +0 -76
- package/docs/api/foundation-errors.snackbarbuilder.withconfirmingaction.md +0 -55
- package/docs/api/foundation-errors.snackbarbuilder.withtype.md +0 -55
- package/docs/api/foundation-errors.snackbartype.md +0 -13
- package/docs/api/index.md +0 -30
- package/docs/api-report copy.md +0 -202
- package/docs/api-report.md.api.md +0 -202
package/README.md
CHANGED
|
@@ -1,67 +1,25 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @genesislcap/foundation-errors
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
[](https://www.typescriptlang.org/)
|
|
3
|
+
Documentation for this package is published on the Genesis docs site:
|
|
5
4
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
* The App need to create Error boundary component at top of the component tree.
|
|
9
|
-
|
|
10
|
-
* Any child under Error boundary component can dispatch custom Error event
|
|
11
|
-
|
|
12
|
-
* The custom event is handled by Error boundary component and based on event payload
|
|
13
|
-
it displays error on different Error component
|
|
14
|
-
|
|
15
|
-
### Current Implementation support following Error Components
|
|
16
|
-
|
|
17
|
-
* Alert
|
|
18
|
-
* Toast
|
|
19
|
-
* Banner
|
|
20
|
-
* Snack bar
|
|
21
|
-
* Dialog
|
|
22
|
-
|
|
23
|
-
### Creating and dispatching Error Events
|
|
24
|
-
|
|
25
|
-
Creating and dispatching Error event with payload to show in Toast/Notification component
|
|
26
|
-
|
|
27
|
-
```javascript
|
|
28
|
-
$emit(
|
|
29
|
-
ErrorBoundaryEvent.ERROR_BOUNDARY_EVENT,
|
|
30
|
-
getErrorBuilder()
|
|
31
|
-
.withTitle(err.CODE)
|
|
32
|
-
.withErrorDetails(getErrorFormat(err))
|
|
33
|
-
.withNotification(
|
|
34
|
-
getNotificationBuilder()
|
|
35
|
-
.withType('warning')
|
|
36
|
-
.withAutoClose(true)
|
|
37
|
-
.withCloseTimeout(notificationCloseTimeout)
|
|
38
|
-
.build())
|
|
39
|
-
.build())
|
|
40
|
-
```
|
|
5
|
+
**Docs: [Utility methods](https://docs.genesis.global/docs/develop/client-capabilities/utility-methods/)**
|
|
41
6
|
|
|
42
7
|
## Installation
|
|
43
8
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
1. Add `@genesislcap/foundation-errors` as a dependency in your `package.json` file. Whenever you change the dependencies of your project, ensure you run the `$ npm run bootstrap` command again. You can find more information in the [package.json basics](https://learn.genesis.global/secure/web/basics/package-json-basics/) page.
|
|
9
|
+
Add the package to your `package.json` dependencies. After changing dependencies, run `npm run bootstrap` (or your project's equivalent). See [package.json basics](https://learn.genesis.global/secure/web/basics/package-json-basics/) for more information.
|
|
47
10
|
|
|
48
11
|
```json
|
|
49
12
|
{
|
|
50
|
-
...
|
|
51
13
|
"dependencies": {
|
|
52
|
-
...
|
|
53
14
|
"@genesislcap/foundation-errors": "latest"
|
|
54
|
-
|
|
55
|
-
},
|
|
56
|
-
...
|
|
15
|
+
}
|
|
57
16
|
}
|
|
58
17
|
```
|
|
59
18
|
|
|
60
|
-
## [API Docs](./docs/api/index.md)
|
|
61
|
-
|
|
62
19
|
## License
|
|
63
20
|
|
|
64
21
|
Note: this project provides front-end dependencies and uses licensed components listed in the next section; thus, licenses for those components are required during development. Contact [Genesis Global](https://genesis.global/contact-us/) for more details.
|
|
65
22
|
|
|
66
23
|
### Licensed components
|
|
24
|
+
|
|
67
25
|
Genesis low-code platform
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/foundation-errors",
|
|
3
3
|
"description": "Genesis Foundation UI Error Utils",
|
|
4
|
-
"version": "14.
|
|
4
|
+
"version": "14.408.0-icon-renderer.3",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -51,16 +51,16 @@
|
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@genesislcap/foundation-testing": "14.
|
|
55
|
-
"@genesislcap/genx": "14.
|
|
56
|
-
"@genesislcap/rollup-builder": "14.
|
|
57
|
-
"@genesislcap/ts-builder": "14.
|
|
58
|
-
"@genesislcap/uvu-playwright-builder": "14.
|
|
59
|
-
"@genesislcap/vite-builder": "14.
|
|
60
|
-
"@genesislcap/webpack-builder": "14.
|
|
54
|
+
"@genesislcap/foundation-testing": "14.408.0-icon-renderer.3",
|
|
55
|
+
"@genesislcap/genx": "14.408.0-icon-renderer.3",
|
|
56
|
+
"@genesislcap/rollup-builder": "14.408.0-icon-renderer.3",
|
|
57
|
+
"@genesislcap/ts-builder": "14.408.0-icon-renderer.3",
|
|
58
|
+
"@genesislcap/uvu-playwright-builder": "14.408.0-icon-renderer.3",
|
|
59
|
+
"@genesislcap/vite-builder": "14.408.0-icon-renderer.3",
|
|
60
|
+
"@genesislcap/webpack-builder": "14.408.0-icon-renderer.3"
|
|
61
61
|
},
|
|
62
62
|
"dependencies": {
|
|
63
|
-
"@genesislcap/foundation-logger": "14.
|
|
63
|
+
"@genesislcap/foundation-logger": "14.408.0-icon-renderer.3"
|
|
64
64
|
},
|
|
65
65
|
"repository": {
|
|
66
66
|
"type": "git",
|
|
@@ -70,5 +70,5 @@
|
|
|
70
70
|
"publishConfig": {
|
|
71
71
|
"access": "public"
|
|
72
72
|
},
|
|
73
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "81f085b26288c4eae01e17a47174d1e389c3a188"
|
|
74
74
|
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-errors](./foundation-errors.md) > [ConfirmingAction](./foundation-errors.confirmingaction.md) > [action](./foundation-errors.confirmingaction.action.md)
|
|
4
|
-
|
|
5
|
-
## ConfirmingAction.action property
|
|
6
|
-
|
|
7
|
-
**Signature:**
|
|
8
|
-
|
|
9
|
-
```typescript
|
|
10
|
-
readonly action: Function;
|
|
11
|
-
```
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-errors](./foundation-errors.md) > [ConfirmingAction](./foundation-errors.confirmingaction.md) > [label](./foundation-errors.confirmingaction.label.md)
|
|
4
|
-
|
|
5
|
-
## ConfirmingAction.label property
|
|
6
|
-
|
|
7
|
-
**Signature:**
|
|
8
|
-
|
|
9
|
-
```typescript
|
|
10
|
-
readonly label: String;
|
|
11
|
-
```
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-errors](./foundation-errors.md) > [ConfirmingAction](./foundation-errors.confirmingaction.md)
|
|
4
|
-
|
|
5
|
-
## ConfirmingAction interface
|
|
6
|
-
|
|
7
|
-
Interface for Confirming Action configuration
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
export interface ConfirmingAction
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Properties
|
|
16
|
-
|
|
17
|
-
<table><thead><tr><th>
|
|
18
|
-
|
|
19
|
-
Property
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
</th><th>
|
|
23
|
-
|
|
24
|
-
Modifiers
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
</th><th>
|
|
28
|
-
|
|
29
|
-
Type
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
</th><th>
|
|
33
|
-
|
|
34
|
-
Description
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
</th></tr></thead>
|
|
38
|
-
<tbody><tr><td>
|
|
39
|
-
|
|
40
|
-
[action](./foundation-errors.confirmingaction.action.md)
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
`readonly`
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
</td><td>
|
|
49
|
-
|
|
50
|
-
Function
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
</td><td>
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
</td></tr>
|
|
57
|
-
<tr><td>
|
|
58
|
-
|
|
59
|
-
[label](./foundation-errors.confirmingaction.label.md)
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
</td><td>
|
|
63
|
-
|
|
64
|
-
`readonly`
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
</td><td>
|
|
68
|
-
|
|
69
|
-
String
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
</td><td>
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
</td></tr>
|
|
76
|
-
</tbody></table>
|
|
77
|
-
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-errors](./foundation-errors.md) > [DismissingAction](./foundation-errors.dismissingaction.md) > [action](./foundation-errors.dismissingaction.action.md)
|
|
4
|
-
|
|
5
|
-
## DismissingAction.action property
|
|
6
|
-
|
|
7
|
-
**Signature:**
|
|
8
|
-
|
|
9
|
-
```typescript
|
|
10
|
-
readonly action?: Function;
|
|
11
|
-
```
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-errors](./foundation-errors.md) > [DismissingAction](./foundation-errors.dismissingaction.md) > [label](./foundation-errors.dismissingaction.label.md)
|
|
4
|
-
|
|
5
|
-
## DismissingAction.label property
|
|
6
|
-
|
|
7
|
-
**Signature:**
|
|
8
|
-
|
|
9
|
-
```typescript
|
|
10
|
-
readonly label: String;
|
|
11
|
-
```
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-errors](./foundation-errors.md) > [DismissingAction](./foundation-errors.dismissingaction.md)
|
|
4
|
-
|
|
5
|
-
## DismissingAction interface
|
|
6
|
-
|
|
7
|
-
Interface for Dismissing Action configuration
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
export interface DismissingAction
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Properties
|
|
16
|
-
|
|
17
|
-
<table><thead><tr><th>
|
|
18
|
-
|
|
19
|
-
Property
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
</th><th>
|
|
23
|
-
|
|
24
|
-
Modifiers
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
</th><th>
|
|
28
|
-
|
|
29
|
-
Type
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
</th><th>
|
|
33
|
-
|
|
34
|
-
Description
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
</th></tr></thead>
|
|
38
|
-
<tbody><tr><td>
|
|
39
|
-
|
|
40
|
-
[action?](./foundation-errors.dismissingaction.action.md)
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
`readonly`
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
</td><td>
|
|
49
|
-
|
|
50
|
-
Function
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
</td><td>
|
|
54
|
-
|
|
55
|
-
_(Optional)_
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
</td></tr>
|
|
59
|
-
<tr><td>
|
|
60
|
-
|
|
61
|
-
[label](./foundation-errors.dismissingaction.label.md)
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
</td><td>
|
|
65
|
-
|
|
66
|
-
`readonly`
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
</td><td>
|
|
70
|
-
|
|
71
|
-
String
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
</td><td>
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
</td></tr>
|
|
78
|
-
</tbody></table>
|
|
79
|
-
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-errors](./foundation-errors.md) > [ErrorBanner](./foundation-errors.errorbanner.md) > [confirmingActions](./foundation-errors.errorbanner.confirmingactions.md)
|
|
4
|
-
|
|
5
|
-
## ErrorBanner.confirmingActions property
|
|
6
|
-
|
|
7
|
-
**Signature:**
|
|
8
|
-
|
|
9
|
-
```typescript
|
|
10
|
-
readonly confirmingActions?: Array<ConfirmingAction>;
|
|
11
|
-
```
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-errors](./foundation-errors.md) > [ErrorBanner](./foundation-errors.errorbanner.md) > [dismissingAction](./foundation-errors.errorbanner.dismissingaction.md)
|
|
4
|
-
|
|
5
|
-
## ErrorBanner.dismissingAction property
|
|
6
|
-
|
|
7
|
-
**Signature:**
|
|
8
|
-
|
|
9
|
-
```typescript
|
|
10
|
-
readonly dismissingAction?: DismissingAction;
|
|
11
|
-
```
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-errors](./foundation-errors.md) > [ErrorBanner](./foundation-errors.errorbanner.md)
|
|
4
|
-
|
|
5
|
-
## ErrorBanner interface
|
|
6
|
-
|
|
7
|
-
Interface for Error Banner configuration
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
export interface ErrorBanner
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Properties
|
|
16
|
-
|
|
17
|
-
<table><thead><tr><th>
|
|
18
|
-
|
|
19
|
-
Property
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
</th><th>
|
|
23
|
-
|
|
24
|
-
Modifiers
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
</th><th>
|
|
28
|
-
|
|
29
|
-
Type
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
</th><th>
|
|
33
|
-
|
|
34
|
-
Description
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
</th></tr></thead>
|
|
38
|
-
<tbody><tr><td>
|
|
39
|
-
|
|
40
|
-
[confirmingActions?](./foundation-errors.errorbanner.confirmingactions.md)
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
`readonly`
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
</td><td>
|
|
49
|
-
|
|
50
|
-
Array<[ConfirmingAction](./foundation-errors.confirmingaction.md)<!-- -->>
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
</td><td>
|
|
54
|
-
|
|
55
|
-
_(Optional)_
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
</td></tr>
|
|
59
|
-
<tr><td>
|
|
60
|
-
|
|
61
|
-
[dismissingAction?](./foundation-errors.errorbanner.dismissingaction.md)
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
</td><td>
|
|
65
|
-
|
|
66
|
-
`readonly`
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
</td><td>
|
|
70
|
-
|
|
71
|
-
[DismissingAction](./foundation-errors.dismissingaction.md)
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
</td><td>
|
|
75
|
-
|
|
76
|
-
_(Optional)_
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
</td></tr>
|
|
80
|
-
</tbody></table>
|
|
81
|
-
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-errors](./foundation-errors.md) > [ErrorBannerBuilder](./foundation-errors.errorbannerbuilder.md) > [build](./foundation-errors.errorbannerbuilder.build.md)
|
|
4
|
-
|
|
5
|
-
## ErrorBannerBuilder.build() method
|
|
6
|
-
|
|
7
|
-
Build ErrorBanner
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
build(): ErrorBanner;
|
|
13
|
-
```
|
|
14
|
-
**Returns:**
|
|
15
|
-
|
|
16
|
-
[ErrorBanner](./foundation-errors.errorbanner.md)
|
|
17
|
-
|
|
18
|
-
ErrorBanner
|
|
19
|
-
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-errors](./foundation-errors.md) > [ErrorBannerBuilder](./foundation-errors.errorbannerbuilder.md)
|
|
4
|
-
|
|
5
|
-
## ErrorBannerBuilder class
|
|
6
|
-
|
|
7
|
-
ErrorBannerBuilder to build ErrorBanner
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
export declare class ErrorBannerBuilder
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Methods
|
|
16
|
-
|
|
17
|
-
<table><thead><tr><th>
|
|
18
|
-
|
|
19
|
-
Method
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
</th><th>
|
|
23
|
-
|
|
24
|
-
Modifiers
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
</th><th>
|
|
28
|
-
|
|
29
|
-
Description
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
</th></tr></thead>
|
|
33
|
-
<tbody><tr><td>
|
|
34
|
-
|
|
35
|
-
[build()](./foundation-errors.errorbannerbuilder.build.md)
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
</td><td>
|
|
42
|
-
|
|
43
|
-
Build ErrorBanner
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
</td></tr>
|
|
47
|
-
<tr><td>
|
|
48
|
-
|
|
49
|
-
[withConfirmingAction(confirmingAction)](./foundation-errors.errorbannerbuilder.withconfirmingaction.md)
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
</td><td>
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
</td><td>
|
|
56
|
-
|
|
57
|
-
Add confirming action to ErrorBanner
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
</td></tr>
|
|
61
|
-
<tr><td>
|
|
62
|
-
|
|
63
|
-
[withDismissingAction(dismissingAction)](./foundation-errors.errorbannerbuilder.withdismissingaction.md)
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
</td><td>
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
</td><td>
|
|
70
|
-
|
|
71
|
-
Add dismissing action to ErrorBanner
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
</td></tr>
|
|
75
|
-
</tbody></table>
|
|
76
|
-
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-errors](./foundation-errors.md) > [ErrorBannerBuilder](./foundation-errors.errorbannerbuilder.md) > [withConfirmingAction](./foundation-errors.errorbannerbuilder.withconfirmingaction.md)
|
|
4
|
-
|
|
5
|
-
## ErrorBannerBuilder.withConfirmingAction() method
|
|
6
|
-
|
|
7
|
-
Add confirming action to ErrorBanner
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
withConfirmingAction(confirmingAction: ConfirmingAction): ErrorBannerBuilder;
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Parameters
|
|
16
|
-
|
|
17
|
-
<table><thead><tr><th>
|
|
18
|
-
|
|
19
|
-
Parameter
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
</th><th>
|
|
23
|
-
|
|
24
|
-
Type
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
</th><th>
|
|
28
|
-
|
|
29
|
-
Description
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
</th></tr></thead>
|
|
33
|
-
<tbody><tr><td>
|
|
34
|
-
|
|
35
|
-
confirmingAction
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
[ConfirmingAction](./foundation-errors.confirmingaction.md)
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
[ConfirmingAction](./foundation-errors.confirmingaction.md)
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
</td></tr>
|
|
49
|
-
</tbody></table>
|
|
50
|
-
|
|
51
|
-
**Returns:**
|
|
52
|
-
|
|
53
|
-
[ErrorBannerBuilder](./foundation-errors.errorbannerbuilder.md)
|
|
54
|
-
|
|
55
|
-
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-errors](./foundation-errors.md) > [ErrorBannerBuilder](./foundation-errors.errorbannerbuilder.md) > [withDismissingAction](./foundation-errors.errorbannerbuilder.withdismissingaction.md)
|
|
4
|
-
|
|
5
|
-
## ErrorBannerBuilder.withDismissingAction() method
|
|
6
|
-
|
|
7
|
-
Add dismissing action to ErrorBanner
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
withDismissingAction(dismissingAction: DismissingAction): ErrorBannerBuilder;
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Parameters
|
|
16
|
-
|
|
17
|
-
<table><thead><tr><th>
|
|
18
|
-
|
|
19
|
-
Parameter
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
</th><th>
|
|
23
|
-
|
|
24
|
-
Type
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
</th><th>
|
|
28
|
-
|
|
29
|
-
Description
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
</th></tr></thead>
|
|
33
|
-
<tbody><tr><td>
|
|
34
|
-
|
|
35
|
-
dismissingAction
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
[DismissingAction](./foundation-errors.dismissingaction.md)
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
[DismissingAction](./foundation-errors.dismissingaction.md)
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
</td></tr>
|
|
49
|
-
</tbody></table>
|
|
50
|
-
|
|
51
|
-
**Returns:**
|
|
52
|
-
|
|
53
|
-
[ErrorBannerBuilder](./foundation-errors.errorbannerbuilder.md)
|
|
54
|
-
|
|
55
|
-
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-errors](./foundation-errors.md) > [ErrorBoundaryEvent](./foundation-errors.errorboundaryevent.md)
|
|
4
|
-
|
|
5
|
-
## ErrorBoundaryEvent enum
|
|
6
|
-
|
|
7
|
-
enum for different types of error boundary events
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
export declare enum ErrorBoundaryEvent
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Enumeration Members
|
|
16
|
-
|
|
17
|
-
<table><thead><tr><th>
|
|
18
|
-
|
|
19
|
-
Member
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
</th><th>
|
|
23
|
-
|
|
24
|
-
Value
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
</th><th>
|
|
28
|
-
|
|
29
|
-
Description
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
</th></tr></thead>
|
|
33
|
-
<tbody><tr><td>
|
|
34
|
-
|
|
35
|
-
ERROR\_BOUNDARY\_EVENT
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
`"error-boundary-event"`
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
</td></tr>
|
|
47
|
-
</tbody></table>
|
|
48
|
-
|