zealchen commented on PR #1546:
URL: https://github.com/apache/horaedb/pull/1546#issuecomment-2246751485

   Error code with only internal kind like 
src/analytic_engine/src/manifest/error.rs looks like a boilerplate code. Shall 
we put it in src/analytic_engine/src/error.rs? 
   ```rs
   use thiserror::Error;
   
   #[derive(Debug, Error)]
   #[error(transparent)]
   pub struct Error(#[from] anyhow::Error);
   
   impl Error {
       pub fn kind(&self) -> ErrorKind {
           ErrorKind::Internal
       }
   }
   
   ```


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to