[error.core.error] added 'MissingBody' and 'MissingHeaders' API download error descriptions

This commit is contained in:
xdrm-brackets 2018-03-03 16:01:20 +01:00
parent 65d1e78cf2
commit e80b20c0d2
1 changed files with 6 additions and 0 deletions

View File

@ -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';
}