Skip to content

Error handling for HomeServer #652

Open
@nqhhdev

Description

Desc

  • Update here
final response = await _client.get(
      ...
    ).onError((error, stackTrace) => throw Exception(error));
  • Create abs class ErrorResponseHomeServer
abstract class ErrorResponseHomeServer {
    final String? errorCode;
    final String? errorMessage;

    ErrorResponseHomeServer({
        this.errorCode,
        this.errorMessage,
    });
}

DoD

Docs

Metadata

Assignees

No one assigned

    Labels

    techTechnical issues or refactoring

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions