Creates an exception. statusCode is null for a transport-level failure such as a connection timeout.
statusCode
const KataCxHttpException(this.message, {this.statusCode, this.url});