* This is called when Errors occur in some of the library functions. Set your * errorhandler function to `store.errorHandler`.
(e: Error | string)
| 232 | * errorhandler function to `store.errorHandler`. |
| 233 | */ |
| 234 | handleError(e: Error | string): void { |
| 235 | if (typeof e == 'string') { |
| 236 | e = new Error(e); |
| 237 | } |
| 238 | this.errorHandler(e) || console.error(e); |
| 239 | } |
| 240 | |
| 241 | /** Let's subscribers know that a resource has been changed. Time to update your views! */ |
| 242 | notify(resource: Resource): void { |
no outgoing calls
no test coverage detected