Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( TimeLimitError = &CustomError{ errString: "Error Time Limit Exceeded", } MemoryLimitError = &CustomError{ errString: "Error Memory Limit Exceeded", } )
Functions ¶
Types ¶
type CustomError ¶
type CustomError struct {
Traces []string
// contains filtered or unexported fields
}
func AddTrace ¶
func AddTrace(err interface{}) *CustomError
func (*CustomError) Error ¶
func (ce *CustomError) Error() string
Click to show internal directories.
Click to hide internal directories.