BuildError.withoutContext constructor

BuildError.withoutContext(
  1. String message
)

Create a simple build error with a message-only description.

Where possible, it is greatly preferable to use another BuildError constructor or sub-type that provides context on why the error occurred; using withoutContext can be suitable when either the context is explicitly provided as part of the message.

Implementation

factory BuildError.withoutContext(String message) = _SimpleBuildError;