Throw exceptions instead of error results