[error.core.error] added 'MissingBody' and 'MissingHeaders' API download error descriptions
This commit is contained in:
parent
65d1e78cf2
commit
e80b20c0d2
|
@ -88,6 +88,8 @@
|
|||
case Err::UnknownTable: return $this->UnknownTable(); break;
|
||||
case Err::NotAllowedSchema: return $this->NotAllowedSchema(); break;
|
||||
case Err::NoMatchFound: return $this->NoMatchFound(); break;
|
||||
case Err::MissingBody: return $this->MissingBody(); break;
|
||||
case Err::MissingHeaders: return $this->MissingHeaders(); break;
|
||||
case Err::UnknownTemplate: return $this->UnknownTemplate(); break;
|
||||
case Err::UnknownAddress: return $this->UnknownAddress(); break;
|
||||
case Err::UnknownError: return $this->UnknownError(); break;
|
||||
|
@ -193,6 +195,10 @@
|
|||
return 'unknown error';
|
||||
}private function AlreadyExists(){
|
||||
return 'item already exists';
|
||||
}private function MissingBody(){
|
||||
return 'Missing HTTP body';
|
||||
}private function MissingHeaders(){
|
||||
return 'Missing HTTP headers';
|
||||
}private function UnknownDebugError(){
|
||||
return 'unknown debug error';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue