Skip to content

attribute panicked on 'subtract with overflow' #3

@alexander-kjall-hafslundeco

Description

I tried to add this crate to my project, but it seem the attribute panicked and it's quite hard to guess what's wrong with the error message 'attempt to subtract with overflow'.

error: custom attribute panicked
   --> src/http/area_curve.rs:220:1
    |
220 | / #[endpoint(
221 | |     method = "GET",
222 | |     path = "/api/v1/curve/area/{run_id}/{time_context}",
223 | |     description = "Get all area curves filtered by time_context"
224 | | )]
    | |__^
    |
    = help: message: attempt to subtract with overflow

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