ErrorContent constructor

ErrorContent(
  1. String message, {
  2. String? errorCode,
  3. String? details,
})

Creates a new ErrorContent with the given message.

Implementation

ErrorContent(this.message, {this.errorCode, this.details});