grpcerror

package
v0.0.0-...-92f7cd3 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrBadRequestResponseEvent = &calendarpb.ResponseEvent{
	Status: StatusBadRequest,
}

ErrBadRequestResponseEvent is error for case when bad request

View Source
var ErrBadRequestResponseEvents = &calendarpb.ResponseEvents{
	Status: StatusBadRequest,
}

ErrBadRequestResponseEvents is error for case when bad request

View Source
var ErrInternalResponseEvent = &calendarpb.ResponseEvent{
	Status: StatusInternalServerError,
}

ErrInternalResponseEvent is error for case when smth went wrong

View Source
var ErrInternalResponseEvents = &calendarpb.ResponseEvents{
	Status: StatusInternalServerError,
}

ErrInternalResponseEvents is error for case when smth went wrong

View Source
var ErrNotFoundResponseEvent = &calendarpb.ResponseEvent{
	Status: StatusNotFound,
}

ErrNotFoundResponseEvent is error for case when entity not found

View Source
var ErrNotFoundResponseEvents = &calendarpb.ResponseEvents{
	Status: StatusNotFound,
}

ErrNotFoundResponseEvents is error for case when entity not found

View Source
var StatusBadRequest = &calendarpb.Status{
	OK:    false,
	Error: "bad request",
}

StatusBadRequest is status for case when bad request

View Source
var StatusInternalServerError = &calendarpb.Status{
	OK:    false,
	Error: "internal server error",
}

StatusInternalServerError is status for case when smth went wrong

View Source
var StatusNotFound = &calendarpb.Status{
	OK:    false,
	Error: "not found",
}

StatusNotFound is status for case when entity not found

View Source
var StatusOK = &calendarpb.Status{
	OK: true,
}

StatusOK is status for case when every thing is OK

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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