* Indicates if there is at least one error in any object in the cache. * * @public * @method hasErrors * @return true if there are any errors in the cache, for any entries, else false.
()
| 53 | * @return true if there are any errors in the cache, for any entries, else false. |
| 54 | */ |
| 55 | hasErrors() { |
| 56 | let paths = Object.keys(this.entries); |
| 57 | |
| 58 | if (paths.find((entryPath) => this.getEntry(entryPath).hasErrors())) { |
| 59 | return true; |
| 60 | } |
| 61 | |
| 62 | return false; |
| 63 | } |
| 64 | |
| 65 | /** |
| 66 | * Gather all the errors in the PIC and any cached objects, then dump them |
no test coverage detected