Error constructor

Error({
  1. String? message,
  2. String? details,
})

Returns a new Error instance.

Implementation

Error({
  this.message,
  this.details,
});