BcException class

Implemented types

Constructors

BcException({required int code, required String message, double? requestedDistanceFt, double? maxRangeFt, double? lookAngleRad, double? zeroFindingError, double? lastBarrelElevationRad, int? iterationsCount, double? requestedValue, double? minimumValue, double? maximumValue, double? lhs, double? rhs})
const
BcException.fromStatus({required int code, required String message, required double f64_0, required double f64_1, required double f64_2, required int i32_0})
The exception of a failed call, from the fields of BCLIBCFFI_Error (what f64_0..f64_2 and i32_0 mean depends on the code, see the table at BCLIBCFFI_Error in bclibc_ffi.h): shared by the native and the web backend, so both throw the same thing for the same failure.
factory

Properties

code → int
final
hashCode → int
The hash code for this object.
no setterinherited
iterationsCount → int?
final
kind → BcErrorKind
no setter
lastBarrelElevationRad → double?
final
lhs → double?
final
lookAngleRad → double?
final
maximumValue → double?
final
maxRangeFt → double?
final
message → String
final
minimumValue → double?
final
requestedDistanceFt → double?
final
requestedValue → double?
final
rhs → double?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
zeroFindingError → double?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited