首先,我创建sqlErrorCodes SP: -- Add the parameters for the stored procedureERROR_SEVERITY(), ERROR_STATE(), ERROR_PROCEDURE(), ERROR_LINE(),现在我用: -- Add the parameters for
我使用Giraffe框架在F#中实现web服务器。web服务器根据客户端请求执行某些存储过程。当无法处理请求时,会在存储过程中抛出错误,并且我正在捕获Giraffe中的错误,如下所示: // parse request ...with match e.Number with return! (setStatus