Skip to content

📖 Error handling guide #5539

Closed
Closed

Description

@helderco

Create a guide on proper error handling, for all SDKs.

Should handle ExecError, getting the exit code and handle errors without crashing.

Activity

  1. added
    area/documentation
    on Aug 1, 2023
  2. helderco commented on Aug 1, 2023

    @helderco
    ContributorAuthor

    I didn't have time for a full guide so I made a cookbook section:

  3. vikram-dagger commented on Aug 2, 2023

    @vikram-dagger
    Contributor

    I didn't have time for a full guide so I made a cookbook section:

    Adding a note here that one of the cookbook examples (specifically the one with multiple use cases for handling exit codes) should be made more readable by splitting it into separate recipes. See #5538 (comment)

  4. TomChv commented on Oct 17, 2023

    @TomChv
    Member

    @vikram-dagger I can help on that one if you want, should we make it a guide with multiple examples? Basically a more complete version of the cookbook?

  5. TomChv commented on Mar 24, 2025

    @TomChv
    Member

    https://docs.dagger.io/api/error-handling/ is now a doc page, so I'm closing this issue.

    Feel free to reopen it if it was a mistake

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions