KnotError constructor

KnotError({
  1. required String errorCode,
  2. required String errorDescription,
})

Initializes a KnotError object.

  • Parameters:
    • errorDescription: Human readable error description.
    • errorCode: Knot error code.

Implementation

KnotError({
  required this.errorCode,
  required this.errorDescription
});