Removed Error object creation