innim_remote_error 0.1.1 copy "innim_remote_error: ^0.1.1" to clipboard
innim_remote_error: ^0.1.1 copied to clipboard

outdated

Remote error object and common codes for Innim projects. Using Dio.

example/main.dart

import 'package:innim_remote_error/innim_remote_error.dart';

void main() {
  final error = RemoteError(GlobalErrorCode.domain, GlobalErrorCode.notFound,
      'Sorry, not found!', 'Requested element is not found');

  print('Error: $error');
  // > Error: RemoteError{domain: Global, code: 1, localizedMessage: Sorry, not found!, description: Requested element is not found, data: null}
}
3
likes
0
pub points
46%
popularity

Publisher

verified publisherinnim.ru

Remote error object and common codes for Innim projects. Using Dio.

Homepage
Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

async, dio, equatable, json_annotation

More

Packages that depend on innim_remote_error