Skip to content

Restructure the Error Response #29

@an-apluss

Description

@an-apluss

Steps to reproduce

  1. restructure the error response across all endpoint

Expected

the error should have two parameters; status and error

{
   "status": "error",
   "error": "appropriate error message"
}

Actual

the error has two parameters; status and message

{
   "status": "error",
   "message": "appropriate error message"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions