constructor (method, path) {
    const msg = `Method '${method}' on path '${path}' already exists`
    super(msg)
    this.message = msg
    this.name = 'DuplicateEndpoint'