import { en } from '@payloadcms/translations/languages/en';
import httpStatus from 'http-status';
import APIError from './APIError.js';
class LockedAuth extends APIError {
    constructor(t){
        super(t ? t('error:userLocked') : en.translations.error.userLocked, httpStatus.UNAUTHORIZED);
    }
}
export default LockedAuth;

//# sourceMappingURL=LockedAuth.js.map