allow custom exception on resolve failure