export interface ErrorValue { code : number ; text : string ; } export namespace GeneralError { export const id = 0x1000 ; export const unknownError = { code : 0x1000 , text : 'unknown error is occurred' } ; export const methodNotImplemented = { code : 0x1001 , text : 'method not implemented' } ; }