(additionalInfo = {})
| 1 | module.exports = { |
| 2 | NoDefinitionsFound: class NoDefinitionsFound extends Error { |
| 3 | constructor (additionalInfo = {}) { |
| 4 | super(); |
| 5 | |
| 6 | this.name = 'NoDefinitionsFound'; |
| 7 | this.title = 'No Definitions Found'; |
| 8 | this.message = 'Sorry pal, we couldn\'t find definitions for the word you were looking for.'; |
| 9 | this.resolution = 'You can try the search again at later time or head to the web instead.'; |
| 10 | this.additionalInfo = additionalInfo; |
| 11 | this.requestType = 'notFound'; |
| 12 | } |
| 13 | }, |
| 14 | |
| 15 | RateLimitError: class RateLimitError extends Error { |
nothing calls this directly
no outgoing calls
no test coverage detected