method to_s defined for custom error classes. Allows to propagate exception messages up