added status code as optional param for error method
added status code as optional param for error method

ministryofjustice/mojintranet-theme,ministryofjustice/mojintranet-theme,ministryofjustice/mojintranet-theme,ministryofjustice/mojintranet-theme