exception static method

DomainResponse exception(
  1. Object e
)

Implementation

static DomainResponse exception(Object e){
  print(e);
  return DomainResponse._(DomainStatus.failure, <String, dynamic>{}, DomainMessage.error(1001, e.toString()));
}