Interface SaFilterErrorStrategy

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface SaFilterErrorStrategy
Sa-Token 全局过滤器 - 异常处理策略封装,方便 lambda 表达式风格调用

此方法的返回值将在 toString() 后返回给前端,如果你要返回 JSON 数据,需要在返回前自行序列化为 JSON 字符串

Since:
1.16.0
Author:
click33
  • Method Summary

    Modifier and Type
    Method
    Description
    执行方法
  • Method Details

    • run

      Object run(Throwable e)
      执行方法
      Parameters:
      e - 异常对象
      Returns:
      输出对象,此返回值将在 toString() 后返回给前端,如果你要返回 JSON 数据,需要在返回前自行序列化为 JSON 字符串