gcperrors

package
v0.0.0-...-b4f7751 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 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

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