errors

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2019 License: GPL-3.0 Imports: 1 Imported by: 37

Documentation

Overview

Package errors defines the common errors

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewArgumentError

func NewArgumentError(argumentName, errorMessage string) error

NewArgumentError creates a new ArgumentError error

func NewArgumentNilError

func NewArgumentNilError(argumentName, errorMessage string) error

NewArgumentNilError creates a new ArgumentNilError error

Types

type ArgumentError

type ArgumentError struct {
	ArgumentName string
	ErrorMessage string
	// contains filtered or unexported fields
}

ArgumentError indicates that the provided input argument is invalid.

func (ArgumentError) Error

func (e ArgumentError) Error() string

Error returns message for the TenantAlreadyExistsError error type Returns the error nessage

type ArgumentNilError

type ArgumentNilError struct {
	ArgumentName string
	ErrorMessage string
	// contains filtered or unexported fields
}

ArgumentNilError indicates that the provided input argument is invalid.

func (ArgumentNilError) Error

func (e ArgumentNilError) Error() string

Error returns message for the TenantAlreadyExistsError error type Returns the error nessage

Jump to

Keyboard shortcuts

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