Skip to content

Error standardization #15

@frlwolf

Description

@frlwolf

Some methods in the SQL subspec context, mainly those which modify data in the database, create and return NSError objects.

Those errors have as a description the database error message, as the domain com.CopyIsRight.GoldDigger and as the code... well, just a random number. As you may see in #14

So, to follow the right patterns, the possible error codes should be understood and all the returned combinations should be external constants describing what kind of error that code is related to.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions