summaryrefslogtreecommitdiff
path: root/docs/data/core/err/recoverable.json
blob: fecd8208dd59ffff28784a167de53721e5730c2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
	"format": 1,
	"id": "saw-err-recoverable",
	"kind": "struct",
	"name": "recoverable",
	"namespace": "saw::err",
	"module": "core",
	"header": "modules/core/c++/error.hpp",
	"brief_description": "Generic recoverable error.",
	"detailed_description": [
		[
			"For a failure which has no kind of its own and which the caller can act on. Prefer defining a tag struct when the kind means something; a named category is what makes an error distinguishable in another process."
		]
	],
	"attributes": {
		"saw-err-recoverable-description": {
			"id": "saw-err-recoverable-description",
			"name": "description",
			"type": ["std::string_view"],
			"visibility": "public",
			"static": true,
			"constexpr": true,
			"initializer": "\"Generic recoverable error\""
		},
		"saw-err-recoverable-is_critical": {
			"id": "saw-err-recoverable-is_critical",
			"name": "is_critical",
			"type": ["bool"],
			"visibility": "public",
			"static": true,
			"constexpr": true,
			"initializer": "false"
		}
	}
}