Class WpNotFoundException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.github.evisentin.wordpress.client.domain.exception.WpNotFoundException
All Implemented Interfaces:
Serializable

public class WpNotFoundException extends RuntimeException
Exception thrown when the WordPress REST API returns a 404 Not Found response.

This typically indicates that the requested resource does not exist or is not accessible.

See Also:
  • Constructor Details

    • WpNotFoundException

      public WpNotFoundException(WpError error)
      Creates a new exception for a 404 Not Found response.
      Parameters:
      error - the error returned by the WordPress REST API