Class ForbiddenException

All Implemented Interfaces:
Serializable

public class ForbiddenException extends RuntimeException
Thrown when a request is refused for a reason the client can fix (e.g. a missing PAT or a repo the stored PAT cannot reach). Mapped to a 403 response carrying the message, so the frontend can show it to the user.
See Also:
  • Constructor Details

    • ForbiddenException

      public ForbiddenException(String message)