Documentation ¶
Index ¶
Constants ¶
View Source
const ( ClarinetInternalInitFail = clarinet + internal + initFail ClarinetInternalConnectionFail = clarinet + internal + connectionFail ClarinetInternalParsingError = clarinet + internal + parsingError ClarinetDriverRequestError = clarinet + driver + requestError ClarinetDriverResponseError = clarinet + driver + responseError ClarinetDriverReceiveError = clarinet + driver + receiveError ClarinetDriverParsingError = clarinet + driver + parsingError ClarinetDriverJsonUnmarshalError = clarinet + driver + jsonUnmarshalError ClarinetGraphQLArgumentError = clarinet + graphql + argumentError ClarinetGraphQLRequestError = clarinet + graphql + requestError ClarinetGraphQLSendError = clarinet + graphql + sendError ClarinetGraphQLJsonUnmarshalError = clarinet + graphql + jsonUnmarshalError ClarinetGraphQLParsingError = clarinet + graphql + parsingError )
View Source
const ( UUIDGenerationError uint64 IPAddressError )
View Source
const ( FluteInternalInitFail = flute + internal + initFail FluteInternalOperationFail = flute + internal + operationFail FluteInternalUUIDGenerationError = flute + internal + UUIDGenerationError FluteInternalTimeStampConversionError = flute + internal + timestampConversionError FluteInternalIPMIError = flute + internal + ipmiError FluteGrpcArgumentError = flute + grpc + argumentError FluteGrpcRequestError = flute + grpc + requestError FluteSQLOperationFail = flute + sql + operationFail FluteSQLNoResult = flute + sql + noResult FluteSQLArgumentError = flute + sql + argumentError )
View Source
const ( HarpInternalInitFail = harp + internal + initFail HarpInternalOperationFail = harp + internal + operationFail HarpInternalUUIDGenerationError = harp + internal + UUIDGenerationError HarpInternalTimeStampConversionError = harp + internal + timestampConversionError HarpInternalInterfaceLookupError = harp + internal + interfaceAddrLookupError HarpInternalPFError = harp + internal + pfError HarpInternalDHCPDError = harp + internal + dhcpdError HarpInternalFileError = harp + internal + fileError HarpInternalIfconfigError = harp + internal + ifconfigError HarpInternalIPAddressError = harp + internal + IPAddressError HarpInternalSubnetInUseError = harp + internal + subnetInUseError HarpInternalSubnetNotAllocatedError = harp + internal + subnetNotAllocatedError HarpInternalAdaptiveIPAllocatedError = harp + internal + adaptiveIPAllocatedError HarpGrpcArgumentError = harp + grpc + argumentError HarpGrpcRequestError = harp + grpc + requestError HarpSQLOperationFail = harp + sql + operationFail HarpSQLNoResult = harp + sql + noResult HarpSQLArgumentError = harp + sql + argumentError )
View Source
const ( PiccoloInternalInitFail = piccolo + internal + initFail PiccoloInternalConnectionFail = piccolo + internal + connectionFail PiccoloInternalUUIDGenerationError = piccolo + internal + UUIDGenerationError PiccoloGrpcRequestError = piccolo + grpc + requestError PiccoloGraphQLTimestampConversionError = piccolo + graphql + timestampConversionError PiccoloGraphQLArgumentError = piccolo + graphql + argumentError PiccoloGraphQLLoginFailed = piccolo + graphql + loginFailed PiccoloGraphQLTokenGenerationError = piccolo + graphql + tokenGenerationError PiccoloGraphQLTokenExpired = piccolo + graphql + tokenExpired PiccoloMySQLPrepareError = piccolo + sql + prepareError PiccoloMySQLExecuteError = piccolo + sql + executeError )
View Source
const ( ViolinInternalInitFail = violin + internal + initFail ViolinInternalOperationFail = violin + internal + operationFail ViolinInternalUUIDGenerationError = violin + internal + UUIDGenerationError ViolinInternalTimeStampConversionError = violin + internal + timestampConversionError ViolinInternalCreateServerFailed = violin + internal + createServerFailed ViolinInternalCreateServerRoutineError = violin + internal + createServerRoutineError ViolinInternalGetAvailableNodesError = violin + internal + getAvailableNodesError ViolinInternalServerNodePresentError = violin + internal + serverNodePresentError ViolinGrpcArgumentError = violin + grpc + argumentError ViolinGrpcRequestError = violin + grpc + requestError ViolinGrpcGetNodesError = violin + grpc + getNodesError ViolinSQLOperationFail = violin + sql + operationFail ViolinSQLNoResult = violin + sql + noResult ViolinSQLArgumentError = violin + sql + argumentError )
View Source
const ( ViolinNoVNCInternalInitFail uint64 = violinNoVNC + internal + initFail ViolinNoVNCInternalConnectionFail uint64 = violinNoVNC + internal + connectionFail ViolinNoVNCInternalParsingError uint64 = violinNoVNC + internal + parsingError ViolinNoVNCInternalDBOperationFail uint64 = violinNoVNC + internal + operationFail ViolinNoVNCDriverRequestError uint64 = violinNoVNC + driver + requestError ViolinNoVNCDriverResponseError uint64 = violinNoVNC + driver + responseError ViolinNoVNCDriverReceiveError uint64 = violinNoVNC + driver + receiveError ViolinNoVNCDriverParsingError uint64 = violinNoVNC + driver + parsingError ViolinNoVNCDriverJsonUnmarshalError uint64 = violinNoVNC + driver + jsonUnmarshalError ViolinNoVNCGrpcArgumentError uint64 = violinNoVNC + grpc + argumentError ViolinNoVNCGrpcRequestError uint64 = violinNoVNC + grpc + requestError ViolinNoVNCGrpcSendError uint64 = violinNoVNC + grpc + sendError ViolinNoVNCGrpcReceiveError uint64 = violinNoVNC + grpc + receiveError ViolinNoVNCGrpcJsonUnmarshalError uint64 = violinNoVNC + grpc + jsonUnmarshalError ViolinNoVNCGrpcParsingError uint64 = violinNoVNC + grpc + parsingError ViolinNoVNCGrpcConnectionFail uint64 = violinNoVNC + grpc + connectionFail ViolinNoVNCGrpcUndefinedError uint64 = violinNoVNC + grpc + undefinedError ViolinNoVNCGrpcOperationFail uint64 = violinNoVNC + grpc + operationFail )
Variables ¶
This section is empty.
Functions ¶
func SetErrLogger ¶
Types ¶
type HccError ¶
type HccError struct { ErrCode uint64 `json:"errcode"` // decimal error code ErrText string `json:"errtext"` // error string }
func NewHccError ¶
type HccErrorStack ¶
type HccErrorStack []HccError
func NewHccErrorStack ¶
func NewHccErrorStack(errList ...*HccError) *HccErrorStack
func ReturnHccEmptyError ¶
func ReturnHccEmptyError() HccErrorStack
ReturnHccEmptyError: Return dummy error as HccErrorStack
func ReturnHccError ¶
func ReturnHccError(errCode uint64, errText string) HccErrorStack
ReturnHccError: Get error code and error string and return as HccErrorStack
func (*HccErrorStack) ConvertReportForm ¶
func (es *HccErrorStack) ConvertReportForm() *HccErrorStack
func (*HccErrorStack) Len ¶
func (es *HccErrorStack) Len() int
func (*HccErrorStack) Pop ¶
func (es *HccErrorStack) Pop() *HccError
func (*HccErrorStack) Push ¶
func (es *HccErrorStack) Push(err *HccError)
Click to show internal directories.
Click to hide internal directories.