import { Nullable, NullOr, StringOrNumericOrObject } from "@joookiwi/type"; import type { ExceptionWithNullableCause } from "./declaration/ExceptionWithNullableCause"; import type { ExceptionWithValue } from "./declaration/ExceptionWithValue"; /** * An exception to tell that an edge case numeric ({@link Number} or {@link BigInt}) * or a name ({@link EnumConstants.EDGE_CASE_NUMERIC_NAME ±∞ / NaN}) was used * * @see EnumConstants.EDGE_CASE_NUMERIC_NAMES * @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 ForbiddenNumericException extends ReferenceError implements ExceptionWithValue, ExceptionWithNullableCause { #private; readonly name: string; constructor(message: string, value: T, cause?: Nullable); /** * The forbidden numeric value (as a {@link String}, {@link Number} or {@link BigInt}) * that was {@link EnumConstants.EDGE_CASE_NUMERIC_NAME ±∞ or NaN} */ get value(): T; get cause(): NullOr; } //# sourceMappingURL=ForbiddenNumericException.d.ts.map