exceptions

package
v0.9.6 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2022 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrorFieldsTooLong       = errors.New("some fields of the message are too long. Name must be max 50 characters and content 50k characters")
	ErrorContentTooShort     = errors.New("the content of your message is less than 140 characters long. Please write meaningful and informative content")
	ErrorContentWithHTML     = errors.New("the content of your message contains HTML. Please write plain text")
	ErrorWrongSignature      = errors.New("wrong signature")
	ErrorTooSoonUnregistered = errors.New("when not registered on a pod, you must wait 1 hour after the last message posted on the server to avoid spam")
	ErrorTooSoonRegistered   = errors.New("when registered on a pod, you must wait 30 sec after the last message posted on the server to avoid spam")
)

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