import { Nullable, NullOr, StringOrObject } from "@joookiwi/type"; import type { ExceptionWithNullableCause } from "./declaration/ExceptionWithNullableCause"; import type { ExceptionWithValue } from "./declaration/ExceptionWithValue"; /** * An exception to tell that the value was a {@link CompanionEnum._EXCLUDED_NAMES excluded name} * or an impossible {@link String name} * in a {@link CompanionEnum} * * @see CompanionEnum._excludedNames * @see https://docs.oracle.com/en/java/javase/22/docs/api/java.base/java/lang/IllegalArgumentException.html Java IllegalArgumentException * @see https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception Kotlin IllegalArgumentException * @see https://learn.microsoft.com/dotnet/api/system.argumentoutofrangeexception C# ArgumentOutOfRangeException */ export declare class ForbiddenNameException extends ReferenceError implements ExceptionWithValue, ExceptionWithNullableCause { #private; readonly name: string; constructor(message: string, value: T, cause?: Nullable); /** The invalid {@link String} value */ get value(): T; get cause(): NullOr; } //# sourceMappingURL=ForbiddenNameException.d.ts.map