@openmrs/esm-error-handling 3.1.15-pre.694 → 3.1.15-pre.712

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 CHANGED
@@ -2,5 +2,3 @@
2
2
 
3
3
  openmrs-esm-error-handling provides facilities for handling errors
4
4
  consistently across the application.
5
-
6
- [API Docs](docs/API.md)
package/package.json CHANGED
@@ -1,13 +1,12 @@
1
1
  {
2
2
  "name": "@openmrs/esm-error-handling",
3
- "version": "3.1.15-pre.694",
3
+ "version": "3.1.15-pre.712",
4
4
  "license": "MPL-2.0",
5
5
  "description": "An ES module to help with error handling",
6
6
  "browser": "dist/openmrs-esm-error-handling.js",
7
7
  "main": "src/index.ts",
8
8
  "source": true,
9
9
  "scripts": {
10
- "document": "../../../document.sh esm-error-handling",
11
10
  "test": "jest --passWithNoTests",
12
11
  "build": "webpack --mode=production",
13
12
  "analyze": "webpack --mode=production --env analyze=true",
@@ -40,7 +39,7 @@
40
39
  "@openmrs/esm-globals": "3.x"
41
40
  },
42
41
  "devDependencies": {
43
- "@openmrs/esm-globals": "^3.1.15-pre.694"
42
+ "@openmrs/esm-globals": "^3.1.15-pre.712"
44
43
  },
45
- "gitHead": "a3313d73f96b6fa3466de4e4a1afefdbc20c78f9"
44
+ "gitHead": "61c481dac38e897e7ced4b6ad2990982131f00bc"
46
45
  }
package/docs/API.md DELETED
@@ -1,83 +0,0 @@
1
- [Back to README.md](../README.md)
2
-
3
- # @openmrs/esm-error-handling
4
-
5
- ## Table of contents
6
-
7
- ### Functions
8
-
9
- - [createErrorHandler](API.md#createerrorhandler)
10
- - [handleApiError](API.md#handleapierror)
11
- - [reportError](API.md#reporterror)
12
-
13
- ## Functions
14
-
15
- ### createErrorHandler
16
-
17
- ▸ **createErrorHandler**(): (`incomingErr`: `any`) => `void`
18
-
19
- #### Returns
20
-
21
- `fn`
22
-
23
- ▸ (`incomingErr`): `void`
24
-
25
- ##### Parameters
26
-
27
- | Name | Type |
28
- | :------ | :------ |
29
- | `incomingErr` | `any` |
30
-
31
- ##### Returns
32
-
33
- `void`
34
-
35
- #### Defined in
36
-
37
- [index.ts:31](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-error-handling/src/index.ts#L31)
38
-
39
- ___
40
-
41
- ### handleApiError
42
-
43
- ▸ **handleApiError**(): (`incomingResponseErr`: `any`) => `void`
44
-
45
- #### Returns
46
-
47
- `fn`
48
-
49
- ▸ (`incomingResponseErr`): `void`
50
-
51
- ##### Parameters
52
-
53
- | Name | Type |
54
- | :------ | :------ |
55
- | `incomingResponseErr` | `any` |
56
-
57
- ##### Returns
58
-
59
- `void`
60
-
61
- #### Defined in
62
-
63
- [index.ts:3](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-error-handling/src/index.ts#L3)
64
-
65
- ___
66
-
67
- ### reportError
68
-
69
- ▸ **reportError**(`err`): `void`
70
-
71
- #### Parameters
72
-
73
- | Name | Type |
74
- | :------ | :------ |
75
- | `err` | `any` |
76
-
77
- #### Returns
78
-
79
- `void`
80
-
81
- #### Defined in
82
-
83
- [index.ts:24](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-error-handling/src/index.ts#L24)
package/typedoc.json DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "out": "docs",
3
- "readme": "none",
4
- "excludeInternal": true,
5
- "gitRevision": "master",
6
- "entryDocument": "API.md"
7
- }