You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
260 B
JavaScript
15 lines
260 B
JavaScript
9 years ago
|
var util = require('util')
|
||
|
|
||
|
function NotFound(message, options) {
|
||
|
Error.call(this)
|
||
|
options = options || {}
|
||
|
this.message = message || ''
|
||
|
this.location = options.location || ''
|
||
|
}
|
||
|
|
||
|
util.inherits(NotFound, Error)
|
||
|
|
||
|
module.exports = {
|
||
|
NotFound: NotFound
|
||
|
}
|