perrors

package
v0.0.0-...-97e1097 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package perrors defines protocol errors.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrDuplicateMessage = errors.New("duplicate message")
	ErrNoCurrentSession = errors.New("no current session")
)

Functions

func ErrInvalidKeyLength

func ErrInvalidKeyLength(expected, got int) error

func ErrSessionNotFound

func ErrSessionNotFound(remoteAddress address.Address) error

func ErrUntrustedIdentity

func ErrUntrustedIdentity(remoteAddress address.Address) error

func IsErrUntrustedIdentity

func IsErrUntrustedIdentity(e error) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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