gcperrors

package
v1.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package gcperrors implements gcp errors types.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IgnoreNotFound added in v0.4.0

func IgnoreNotFound(err error) error

IgnoreNotFound ignore Google API not found error and return nil. Otherwise return the actual error.

func IsNotFound

func IsNotFound(err error) bool

IsNotFound reports whether err is a Google API error with http.StatusNotFround.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL