Skip to content

Restructure Errors by domain #721

@zupzup

Description

@zupzup

It might be nice to have error structures strictly by domain.

e.g. currently there is a bill service error and a general service error - each service should have their specific error type.

Also, ValidationError has all possible validation errors.

There should be a GeneralValidationError and specific ones like CompanyValidationError.

That way it would be easier for callers to know which errors can happen.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementEnhancement of existing code

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions