Skip to content

Commit 225d8eb

Browse files
authored
Update entservices_errorcodes.h
1 parent 78986c6 commit 225d8eb

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

apis/entservices_errorcodes.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@
33
#pragma once
44
#include <stdio.h>
55

6-
// 1. The single source of truth: a list of all errors.
6+
// 1. A list of Plugin specific errors.
7+
// As per https://www.jsonrpc.org/specification#error_object, implementation defined error range is -32000 to -32099
8+
// So, we have room for only 100 errors across all entertainment services in RDK.
9+
// Please define error code in reusable form (or generic form), wherever possible.
10+
// Always consult Thunder Framework defined errors before defining a new error.
711
#define ERROR_LIST \
812
X(ERROR_INVALID_DEVICENAME, "Invalid device name") \
913
X(ERROR_INVALID_MOUNTPOINT, "Invalid mount path") \

0 commit comments

Comments
 (0)