mterrors

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Code generated by noice. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrAdminRequired

func ErrAdminRequired(params ...func(*cherry.Err)) *cherry.Err

ErrAdminRequired error User is not admin and has no permissions

func ErrInternalError

func ErrInternalError(params ...func(*cherry.Err)) *cherry.Err

func ErrMailSendFailed

func ErrMailSendFailed(params ...func(*cherry.Err)) *cherry.Err

func ErrMessageNotExist

func ErrMessageNotExist(params ...func(*cherry.Err)) *cherry.Err

func ErrPermissionsError

func ErrPermissionsError(params ...func(*cherry.Err)) *cherry.Err

ErrPermissionsError error Unable to verify if user has required permissions, so don't give access

func ErrRequestValidationFailed

func ErrRequestValidationFailed(params ...func(*cherry.Err)) *cherry.Err

ErrRequestValidationFailed error Validation error when parsing request

func ErrRequiredHeadersNotProvided

func ErrRequiredHeadersNotProvided(params ...func(*cherry.Err)) *cherry.Err

ErrRequiredHeadersNotProvided error Required headers is not found in context

func ErrServiceNotAvailable

func ErrServiceNotAvailable(params ...func(*cherry.Err)) *cherry.Err

func ErrTemplateAlreadyExists

func ErrTemplateAlreadyExists(params ...func(*cherry.Err)) *cherry.Err

func ErrTemplateNotExist

func ErrTemplateNotExist(params ...func(*cherry.Err)) *cherry.Err

func ErrTemplateVersionNotExist

func ErrTemplateVersionNotExist(params ...func(*cherry.Err)) *cherry.Err

func ErrUnableDeleteTemplate

func ErrUnableDeleteTemplate(params ...func(*cherry.Err)) *cherry.Err

func ErrUnableGetMessage

func ErrUnableGetMessage(params ...func(*cherry.Err)) *cherry.Err

func ErrUnableGetMessagesList

func ErrUnableGetMessagesList(params ...func(*cherry.Err)) *cherry.Err

func ErrUnableGetTemplate

func ErrUnableGetTemplate(params ...func(*cherry.Err)) *cherry.Err

func ErrUnableGetTemplatesList

func ErrUnableGetTemplatesList(params ...func(*cherry.Err)) *cherry.Err

func ErrUnableSaveMessage

func ErrUnableSaveMessage(params ...func(*cherry.Err)) *cherry.Err

func ErrUnableSaveTemplate

func ErrUnableSaveTemplate(params ...func(*cherry.Err)) *cherry.Err

func ErrUnableUpdateTemplate

func ErrUnableUpdateTemplate(params ...func(*cherry.Err)) *cherry.Err

Types

This section is empty.

Jump to

Keyboard shortcuts

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