Class UnsubscribeOpenapiException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.github.xezzon.zeroweb.common.exception.ZerowebBusinessException
io.github.xezzon.zeroweb.subscription.exception.UnsubscribeOpenapiException
All Implemented Interfaces:
Serializable

@NullMarked public class UnsubscribeOpenapiException extends io.github.xezzon.zeroweb.common.exception.ZerowebBusinessException
不能调用未订阅的接口异常,当尝试调用未订阅的对外接口时抛出
Author:
xezzon
See Also:
  • Field Details

  • Constructor Details

    • UnsubscribeOpenapiException

      public UnsubscribeOpenapiException()
      构造器,设置默认错误信息
  • Method Details

    • code

      public String code()
      Specified by:
      code in class io.github.xezzon.zeroweb.common.exception.ZerowebBusinessException
    • httpStatus

      public int httpStatus()
      Overrides:
      httpStatus in class io.github.xezzon.zeroweb.common.exception.ZerowebBusinessException
      Returns:
      HTTP状态码(403 Forbidden)