Skip to content

Exception error codes

When WordHat is forced to throw a user-facing PHP exception, an error code beginning with “W” will be included at the start of the message. This documentation is provided to help you better understand the error, and in some cases, provide extra information to help you resolve the problem.

The range of valid error codes is W000 to W999:

  • W000-099 represent miscellanous internal errors.
  • W100-199 represent internal errors related to the WP-CLI driver.
  • W200-299 represent internal errors related to the WP-PHP driver.
  • W300-399 are reserved for future use.
  • W400-499 represent errors related to PageObjects used by the drivers.
  • W500-599 represent errors from the WP-CLI driver.
  • W600-699 represent errors from the WP-PHP driver.
  • W700-799 are reserved for future use.
  • W800-999 are reserved for future use.