boulder: Index | Files

package canceled

import ""


Package Files


func Is Uses

func Is(err error) bool

Is returns true if err is non-nil and is either context.Canceled, or has a grpc code of Canceled. This is useful because cancellations propagate through gRPC boundaries, and if we choose to treat in-process cancellations a certain way, we usually want to treat cross-process cancellations the same way.

Package canceled imports 3 packages (graph) and is imported by 16 packages. Updated 2020-02-13. Refresh now. Tools for package owners.