Name

DisplayErrors — display eventual errors directly in the client session

SYNOPSIS

No | Yes

DESCRIPTION

All Interchange errors are reported in the error log, but errors can also be displayed directly in the client browser. This is convenient while testing a configuration. To allow catalog-specific settings of DisplayErrors the global directive needs to be enabled.

DIRECTIVE TYPE AND DEFAULT VALUE

Global directive,
Catalog directive

EXAMPLES

Example: Enabling DisplayErrors

Put the following in interchange.cfg:

DisplayErrors Yes

NOTES

This directive changes the operation of $SIG{__DIE__} and may have other effects on program operation. This should never be used for normal operation.

AVAILABILITY

DisplayErrors is available in Interchange versions:

4.6.0-5.9.0 (git-head)

SOURCE

Interchange 5.9.0:

Source: lib/Vend/Config.pm
Line 410

['DisplayErrors',    'yesno',            'No'],

Source: lib/Vend/Config.pm
Line 571

['DisplayErrors',    'yesno',            'No'],

Source: lib/Vend/Config.pm
Line 5434 (context shows lines 5434-5446)

sub parse_yesno {
my($var, $value) = @_;
$_ = $value;
if (m/^y/i || m/^t/i || m/^1/ || m/^on/i) {
  return 1;
}
elsif (m/^n/i || m/^f/i || m/^0/ || m/^of/i) {
  return 0;
}
else {
  config_error("Use 'yes' or 'no' for the $var directive\n");
}
}

AUTHORS

Interchange Development Group

SEE ALSO

DocBook! Interchange!