Throw exception

Throwing is better than just returning error object to handle errors well.