Defjs
Core

DecodeFaultCode

Codes whose fault carries response metadata but no body.

@defjs/core · Type

Signature

type DecodeFaultCode =
  "RES_DECODE_FAILED" | "RES_MEDIA_TYPE_INVALID" | "RES_STRUCT_MISMATCH";

These are the code values of DecodeFault. PreflightFaultCode is every other FaultCode except HTTP_STATUS.

Edit this page on GitHub
Released under the MIT License. · Copyright © 2026 MunMunMiao