lingbin commented on issue #2969: Improve implementation of Status
URL: https://github.com/apache/incubator-doris/pull/2969#issuecomment-589654754
 
 
   > > Is It actually an POSIX errno?
   > > For example: For Status::IOError, it is error code is 
TStatusCode::IO_ERROR, but its "posix_code" may be `EIO`, `ENOTDIR`, `EEXIST` 
and so on.
   > 
   > Actually no. This field is intended to unify Doris' error code. When user 
can get a code, he/she will know the specific error. If this is used as 
posix_code, its usage will be narrowed.
   
   My previous understanding was: There is only **one level** of error code 
defined by Doris, which is `TStatusCode`. According to you, it looks like it 
will be divided into **two levels** in the future, but is it a bit too much?
   
   Anyway, I will change it back currently.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to