Skip to content

api response error handling #17

@LREGS

Description

@LREGS

sometimes struggling wiht errors in the post/put/get requests where we expect a copy of the row to be returned. But, sometimes the return will actually be an error or a model but obviously I dont know that until it has been unmarshalled, so it might be better to wrap the api response in a struct that holds data and error, and then I can just check if the error section is nil or not

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions