# Functions
Failed use to response error message.
FailedWithHttpCode 和 Failed 基本一致 只不过默认加了 WithHttpCode, 当然用户也可以添加新的 WithHttpCode 用来覆盖默认的 WithHttpCode.
FailedWithNoErrorDetails 不对外暴露错误细节 不暴露错误细节, 目前是强制执行 WithInternalServerError() WithUnKnownException().
No description provided by the author
Success use to response success data.
No description provided by the author
WithInternalServerError 遇到 exception.InternalServerError 时 把 Msg 替换为 Reason, 避免对外暴露太多的错误细节.
WithJoinReasonMsg 合并 Reason 和 Msg 到 Msg.
WithUnKnownException 遇到 exception.UnKnownException 时 把 Msg 替换为 Reason, 避免对外暴露太多的错误细节.
# Interfaces
Option configures how we set up the data.