An exception thrown for errors during BigInt operations. It wraps a BigIntError value to provide specific details.

Constructor

new(error:BigIntError, ?previous:Exception)

Creates a new BigIntException.

Parameters:

error

The specific BigIntError that occurred.

previous

An optional previous exception in a chain.

Inherited Variables

Defined by Exception

read onlymessage:String

Exception message.

read onlynative:Any

Native exception, which caused this exception.

read onlyprevious:Null<Exception>

Contains an exception, which was passed to previous constructor argument.

stack:CallStack

The call stack at the moment of the exception creation.

Inherited Methods

Defined by Exception

details():String

Detailed exception description.

Includes message, stack and the chain of previous exceptions (if set).

@:keeptoString():String

Returns exception message.