Raise errors with local