ServerErrorStrings

Usage

use ServerErrorStrings;

or

import ServerErrorStrings;

error string to return to client… generate consistent error strings for notImplementedError

class ErrorWithMsg: Error
var msg: string
proc notImplementedError(pname: string, ldtype: DType, op: string, rdtype: DType): string

binary operator is not implemented for DTypes

proc notImplementedError(pname: string, ldtype: string, op: string, rdtype: string): string
proc notImplementedError(pname: string, efunc: string, ldtype: DType): string

efunc is not implemented for DType

proc notImplementedError(pname: string, efunc: string, ldtype: DType, param nd: int): string
proc notImplementedError(pname: string, efunc: string, dt1: DType, dt2: DType): string

efunc is not implemented for DTypes

proc notImplementedError(pname: string, efunc: string, dt1: DType, dt2: DType, dt3: DType): string
proc notImplementedError(pname: string, dtype: DType): string

algorthm is not implemented for DType

proc notImplementedError(pname: string, arg: string): string

proc is not implemented for this kind of argument

proc unrecognizedTypeError(pname: string, stype: string): string

unrecognized DType

proc unknownSymbolError(pname: string, sname: string): string

name not found in the symbol table

proc unknownError(pname: string): string
proc incompatibleArgumentsError(pname: string, reason: string)

incompatible arguments

proc unsupportedTypeError(dtype: DType, pname: string): string
proc unsupportedTypeError(type t, pname: string): string