This was introduced in commit 2c5ba7fc15 but might never worked because $dreamhost_error_hack was never defined
2c5ba7fc15