errors

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 21, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package errors provides types and functions supporting consistent error handling for errors specific to strategic conflict detection.

Index

Constants

View Source
const ErrMessageMissingOVNs = "at least one current OVN not provided"

Variables

This section is empty.

Functions

func MissingOVNsErrorResponse

func MissingOVNsErrorResponse(missingOps []*dssmodels.Operation) (bool, error)

Used to return sufficient information for an appropriate client error response when a client is missing one or more OVNs for relevant Operations or Constraints.

func MissingOVNsInternalError

func MissingOVNsInternalError() error

A single, consistent error to use internally when the Storage layer detects missing OVNs

Types

This section is empty.

Jump to

Keyboard shortcuts

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