return errors on custom()