Skip to content

Improve Error Messages #844

@apm-tobias-duesterhus

Description

@apm-tobias-duesterhus

Hey there,

It would be very helpful to get more informations about errors from providers in case of errors like misconfigured requests (400 error). E.g. does the Anthropic provider throw a PrismException without further information about the response from the provider if the response code is other than 429, 413 or 529. Please provide the body from the response in the exception (e.g. as optional argument) or create a new Exception type for those cases. Otherwise it is very hard find my own mistakes.

Best Regards,
Tobi

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