HatangException constructor

const HatangException(
  1. String code,
  2. String message, {
  3. int? status,
})

Creates an exception with a stable code, a human message and the HTTP status when one applies.

Implementation

const HatangException(this.code, this.message, {this.status});