-
Notifications
You must be signed in to change notification settings - Fork 4
/
error_messages.ts
27 lines (18 loc) · 1.04 KB
/
error_messages.ts
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
// Copyright 2018-2022 Gamebridge.ai authors. All rights reserved. MIT license.
export const ERROR_MISSING_PROPERTIES_MAP =
"Unable to load serializer properties for the given context";
export const ERROR_DUPLICATE_PROPERTY_KEY =
"This key name is already in use by another property, please use a different name";
export const ERROR_DUPLICATE_SERIALIZE_KEY =
"This serialize key is already in use by another property, please use a different name";
export const ERROR_SYMBOL_PROPERTY_NAME =
"The key name cannot be inferred from a symbol. A value for serializedName must be provided";
export const ERROR_FAILED_TO_RESOLVE_POLYMORPHIC_CLASS =
"Failed to resolve polymorphic class";
export const ERROR_INVALID_DATE = "Invalid Date";
export const ERROR_TO_OBJECT_CONTAINING_INVALID_VALUE =
"The value is not an object";
export const ERROR_TO_OBJECT_CONTAINING_INVALID_SUB_VALUE =
"The sub-value is not an object";
export const ERROR_GET_NEW_SERIALIZABLE_SERIALIZABLE_NOT_RETURNED =
"The provided input is not Serializable or a function.";