Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewStatusError ¶
status must be [ -10000 to -99999 ] ,if status wrong will be set to -10000 as default
func PanicHandler ¶
func PanicHandler(panic_err interface{})
to do panic_err handler :default function
func ResolveStatusError ¶
if err is nil then return 0,nil if not an StatusError then return -1,error e.g "-10000,error found" => -10000, err("error found") e.g "this is error" => -1, err("this is error") e.g "101,this is positive err" => -1,error("101,this is positive err") e.g "-10,this is not status error" => -1,error("-10,this is not status error")
func ScheduleUploadPanic ¶
func ScheduleUploadPanic()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.