Use Error object to throw