CockpitTestError constructor
CockpitTestError({
- required CockpitTestErrorCode code,
- required String message,
- String? path,
- String? stepId,
- CockpitTestSourceLocation? location,
- Map<
String, Object?> details = const <String, Object?>{},
Creates a CockpitTestError.
Implementation
CockpitTestError({
required this.code,
required this.message,
this.path,
this.stepId,
this.location,
Map<String, Object?> details = const <String, Object?>{},
}) : details = Map<String, Object?>.unmodifiable(
CockpitTestValueReader.object(
CockpitTestValueReader.jsonValue(details, r'$.details'),
r'$.details',
),
);