File: error.go

package info (click to toggle)
golang-forgejo-forgejo-levelqueue 1.0.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 116 kB
  • sloc: makefile: 4
file content (14 lines) | stat: -rw-r--r-- 345 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright 2019 Lunny Xiao. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.

package levelqueue

import "errors"

var (
	// ErrNotFound means no elements in queue
	ErrNotFound = errors.New("no key found")

	ErrAlreadyInQueue = errors.New("value already in queue")
)