Common interface for Promise rejections. Developers should handle according to the errorCode
• Readonly errorCode: ErrorCode
Error code from ErrorCode
• Readonly message: string
Error message
• Optional Readonly data: any
Additional data