Inherit utilx.customError and cleanup