diff --git a/error.hbs b/error.hbs
index 2b3ef19..d9b4768 100644
--- a/error.hbs
+++ b/error.hbs
@@ -1,19 +1,23 @@
{{!< default}}
-
{{statusCode}}
-{{message}}
+
-{{#if errorDetails}}
-
- {{#foreach errorDetails}}
- -
-
{{{rule}}}
- {{#foreach failures}}
- Ref: {{ref}}
- Message: {{message}}
+
+ {{#if errorDetails}}
+
+ {{#foreach errorDetails}}
+ -
+
{{{rule}}}
+ {{#foreach failures}}
+ Ref: {{ref}}
+ Message: {{message}}
+ {{/foreach}}
+
{{/foreach}}
-
- {{/foreach}}
-
-{{/if}}
+
+ {{/if}}
+
\ No newline at end of file