Skip to content

Define failure cases within bobtimus that are worthwhile reporting to the frontend #229

@thomaseizinger

Description

@thomaseizinger

This is a follow-up issue based on the findings here: #196 (comment)

The infrastructure of good error reporting is in place, i.e. we have a well-defined error interface through RFC7807.

To make use of this, we need to:

  1. Identify, which concrete errors we want to know about on the frontend.
  2. Design the error response we would like to see for these errors. In other words, think about the RFC7807 response first. (Bonus points for adding tests for it.)
  3. Define and use error types for this within bobtimus (i.e. structs that implement std::error::Error)
  4. Define a mapping of these errors to the specified error format
  5. Write the error handling code for the errors on the frontend

Failure cases

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