Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NotFoundErr = NewWithCode(NOT_FOUND, "not found")
Functions ¶
func IsRestRecoverAbleError ¶
func NewParserError ¶
Types ¶
type ErrorCode ¶
type ErrorCode int
const ( Undefined_Err ErrorCode = 1000 GENERAL_ERR ErrorCode = 1001 NOT_FOUND ErrorCode = 1002 IOErr ErrorCode = 1003 CovnerterErr ErrorCode = 1004 ParserError ErrorCode = 2001 PlanError ErrorCode = 2101 ExecutorError ErrorCode = 2201 StreamTableError ErrorCode = 3000 RuleErr ErrorCode = 4000 ConfKeyError ErrorCode = 5000 )
func GetErrorCode ¶
type ErrorWithCode ¶
type MockTemporaryError ¶
type MockTemporaryError struct{}
func (*MockTemporaryError) Error ¶
func (e *MockTemporaryError) Error() string
func (*MockTemporaryError) Temporary ¶
func (e *MockTemporaryError) Temporary() bool
Click to show internal directories.
Click to hide internal directories.