# Method Protocols.DNS.server_base()->report_decode_error()

Method report_decode_error

  ``protected` `void` report_decode_error(`mixed` `err`, `mapping` `m`, `Stdio.UDP`|`object` `udp`)`

Description

  Report a failure to decode a DNS request.

  The default implementation writes a backtrace to stderr. This method exists so that derived servers can replace it with more appropriate error handling for their environment.