UNPKG

ldapts

Version:
11 lines (8 loc) 383 B
import { ResultCodeError } from './ResultCodeError.js'; export class LoopDetectError extends ResultCodeError { public constructor(message?: string) { super(54, message ?? 'The client discovered an alias or LDAP Referral loop, and is thus unable to complete this request.'); this.name = 'LoopDetectError'; Object.setPrototypeOf(this, LoopDetectError.prototype); } }