File: wp-includes/class-wp-error.php
-
hookwp_error_added
Fires when an error is added to a WP_Error object.
-
Retrieves all error data for an error code in the order in which the data was added.
-
methodWP_Error::merge_from()
Merges the errors in the given error object into this one.
-
methodWP_Error::export_to()
Exports the errors in this object into the given one.
-
methodWP_Error::copy_errors()
Copies errors from one WP_Error instance to another.
-
methodWP_Error::has_errors()
Verifies if the instance contains errors.
-
methodWP_Error::remove()
Removes the specified error.
-
Retrieves the first error code available.
-
Retrieves all error messages, or the error messages for the given error code.
-
Gets a single error message.
-
Retrieves the most recently added error data for an error code.
-
methodWP_Error::add()
Adds an error or appends an additional message to an existing error.
-
methodWP_Error::add_data()
Adds data to an error with the given code.
-
classWP_Error
WordPress Error class.
-
methodWP_Error::__construct()
Initializes the error.
-
Retrieves all error codes.