Since we have multiple possible error sources such as the compute resources, network resources, api machinery specific errors and last but not least OLM and operator specific errors, among possible other error types. So centralizing the errors in an error package will come with the following benefits:
Allowing richer log messages to both users and developers
Making it easier to manage the messages and customize the error behaviors
Allowing for standard error statistics for reporting
Since we have multiple possible error sources such as the compute resources, network resources, api machinery specific errors and last but not least OLM and operator specific errors, among possible other error types. So centralizing the errors in an error package will come with the following benefits: