Skip to main content
All SDK failures surface as a BmoniSignerException carrying:
  • errorCode — a BmoniSignerErrorCode enum value for programmatic branching
  • message — a human-readable description

Error codes

Signing errors (0x3001xxxx)

Originate inside the native BMONISigner SDK.

PIN errors (0x4xxxxxxx)

Generated by the Dart-layer PIN gate.

Bridge errors (0x5xxxxxxx)

Generated by the Dart method-channel bridge.

Handling the most common cases


PlatformException

In rare cases the method channel itself may throw a Flutter PlatformException. These are distinct from BmoniSignerException and typically indicate a misconfigured platform environment: