implementing settingsOnExceptionResponse for #218.