File: errors.go

package info (click to toggle)
termshark 2.4.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,424 kB
  • sloc: sh: 98; makefile: 10
file content (23 lines) | stat: -rw-r--r-- 581 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright 2019-2022 Graham Clark. All rights reserved.  Use of this source
// code is governed by the MIT license that can be found in the LICENSE
// file.

package system

//======================================================================

type NotImplementedError struct{}

var _ error = NotImplementedError{}

func (e NotImplementedError) Error() string {
	return "Feature not implemented"
}

var NotImplemented = NotImplementedError{}

//======================================================================
// Local Variables:
// mode: Go
// fill-column: 78
// End: