File: errors.go

package info (click to toggle)
glab 1.53.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 20,936 kB
  • sloc: sh: 295; makefile: 153; perl: 99; ruby: 68; javascript: 67
file content (9 lines) | stat: -rw-r--r-- 439 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
package api

import "errors"

// ErrIssuableUserNotSubscribed received when trying to unsubscribe from an issue the user is not subscribed to
var ErrIssuableUserNotSubscribed = errors.New("you are not subscribed to this issue")

// ErrIssuableUserAlreadySubscribed received when trying to subscribe to an issue the user is already subscribed to
var ErrIssuableUserAlreadySubscribed = errors.New("you are already subscribed to this issue")