Exception handling Restler框架异常处理
如何在应用程序中编写异常处理。我正在使用restler框架RestException由restler框架处理,以向api用户发送错误响应。除此之外,restler中的异常处理是PHP常用的方式 处理异常的最佳方法是在预期的位置使用块 您可以检测未处理的异常,并使用。理想情况下,您可以在index.php网关上执行此操作Exception handling Restler框架异常处理,exception-handling,restler,Exception Handling,Restler,如何在应用程序中编写异常处理。我正在使用restler框架RestException由restler框架处理,以向api用户发送错误响应。除此之外,restler中的异常处理是PHP常用的方式 处理异常的最佳方法是在预期的位置使用块 您可以检测未处理的异常,并使用。理想情况下,您可以在index.php网关上执行此操作