Made error returned