Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: containerd/errdefs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.1.0
Choose a base ref
...
head repository: containerd/errdefs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.2.0
Choose a head ref
  • 20 commits
  • 15 files changed
  • 6 contributors

Commits on Jan 23, 2024

  1. Add more grpc error types

    Add all grpc error types and error matching used by Moby.
    
    Signed-off-by: Derek McGowan <derek@mcg.dev>
    dmcgowan committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    9854dc7 View commit details
    Browse the repository at this point in the history
  2. Add HTTP status code and error type conversion

    Signed-off-by: Derek McGowan <derek@mcg.dev>
    dmcgowan committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    f727cdb View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2024

  1. Merge pull request #3 from containerd/add-more-grpc-types

    Add more grpc types
    AkihiroSuda authored Feb 9, 2024
    Configuration menu
    Copy the full SHA
    98ae5ec View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2024

  1. Split gRPC and HTTP error utility into seperate packages

    By having seperate packages, users can consume base package without pulling
    gRPC or HTTP as a dependency if not required.
    
    Signed-off-by: Austin Vazquez <macedonv@amazon.com>
    austinvazquez committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    fd0e482 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #5 from austinvazquez/split-grpc-to-package

    Split gRPC and HTTP error utility into seperate packages
    dmcgowan authored Apr 26, 2024
    Configuration menu
    Copy the full SHA
    2dc9c17 View commit details
    Browse the repository at this point in the history

Commits on May 31, 2024

  1. Fix Cancelled interface typo

    The function for the interface should be `Cancelled` not `ErrCancelled`.
    
    Signed-off-by: Derek McGowan <derek@mcg.dev>
    dmcgowan committed May 31, 2024
    Configuration menu
    Copy the full SHA
    9564d8f View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2024

  1. Configuration menu
    Copy the full SHA
    038bb7b View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2024

  1. Add typeurl to go mod

    Signed-off-by: Derek McGowan <derek@mcg.dev>
    dmcgowan committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    6022faf View commit details
    Browse the repository at this point in the history
  2. Add collapsible error type

    Signed-off-by: Derek McGowan <derek@mcg.dev>
    dmcgowan committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    70fd2d7 View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2024

  1. Add stack package for managing error stack traces

    Signed-off-by: Derek McGowan <derek@mcg.dev>
    dmcgowan committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    f96dfda View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2024

  1. Merge pull request #8 from dmcgowan/add-stack-support

    Add stack support
    estesp authored Jun 21, 2024
    Configuration menu
    Copy the full SHA
    6fb6cf0 View commit details
    Browse the repository at this point in the history
  2. Add a resolve error function to return first error

    When an error object is returned and must be resolved to a single return
    error, the first error matching one defined by this package should be
    returned.
    
    Signed-off-by: Derek McGowan <derek@mcg.dev>
    dmcgowan committed Jun 21, 2024
    Configuration menu
    Copy the full SHA
    9f87502 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #9 from dmcgowan/resolve-error

    Add a resolve error function to return first error
    dmcgowan authored Jun 21, 2024
    Configuration menu
    Copy the full SHA
    6c7f402 View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2024

  1. Add support for custom error messages

    Add a function to each defined error to set a custom message.
    
    Signed-off-by: Derek McGowan <derek@mcg.dev>
    dmcgowan committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    dc9b20e View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2024

  1. Merge pull request #10 from dmcgowan/custom-error-messages

    Add support for custom error messages
    AkihiroSuda authored Jul 3, 2024
    Configuration menu
    Copy the full SHA
    124d0dc View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2024

  1. Update Resolve function to support Is interface

    The Is interface may be used to resolve if no other unwrap interface is
    implemented. This interface is safe to use in this situation, unlike
    errors.Is, since the error should not be unwrapped further.
    
    Signed-off-by: Derek McGowan <derek@mcg.dev>
    dmcgowan committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    ffb0349 View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2024

  1. Add support for grpc error details

    When multiple errors are given, use details to encode errors into the
    grpc status and decode details back into errors.
    
    Signed-off-by: Derek McGowan <derek@mcg.dev>
    dmcgowan committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    b9dce4d View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2024

  1. Merge pull request #7 from dmcgowan/grpc-error-details

    Add support for grpc error details and multiple errors
    AkihiroSuda authored Aug 16, 2024
    Configuration menu
    Copy the full SHA
    70440b8 View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2024

  1. Complete interface definitions for errors

    Add test and fix missing definition
    
    Signed-off-by: Derek McGowan <derek@mcg.dev>
    dmcgowan committed Sep 1, 2024
    Configuration menu
    Copy the full SHA
    41d12e1 View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2024

  1. Merge pull request #18 from dmcgowan/add-missing-interfaces

    Complete interface definitions for errors
    AkihiroSuda authored Sep 2, 2024
    Configuration menu
    Copy the full SHA
    02b65bc View commit details
    Browse the repository at this point in the history
Loading