error_message

package
v0.0.0-...-e384ca1 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrWrongUsername        = errors.New("username must contain from 1 to 50 characters")
	ErrWrongChatname        = errors.New("chat name must contain from 1 to 50 characters")
	ErrWrongMesText         = errors.New("message must not be empty")
	ErrNoChatUsers          = errors.New("chat must contain least one user")
	ErrRecurringUsers       = errors.New("chat users must not repeat themselves")
	ErrUserIsNotInChat      = errors.New("user is not in chat")
	ErrWrongMesCreationTime = errors.New("message time must be longer than chat time")
	ErrUserNotExists        = errors.New("user not exists")
	ErrChatNotExists        = errors.New("chat not exists")
	ErrEmptyUserId          = errors.New("empty user id")
	ErrEmptyChatId          = errors.New("empty chat id")
)

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