Strip trailing periods for API messages
Convert errors as a decorator for the client facade