MerryError constructor

MerryError({
  1. required ErrorCode type,
  2. Map<String, dynamic> body = const {},
})

Constructs a constant MerryError instance.

Implementation

MerryError({required this.type, this.body = const {}});