DerryError constructor

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

Constructs a constant DerryError instance.

Implementation

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