Wrapping up BaseError class in WepayClient module