Adding methods to easily map errors