You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

llama.exceptions.llamadecodeerror.md 2.3 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. # LLamaDecodeError
  2. Namespace: LLama.Exceptions
  3. `llama_decode` return a non-zero status code
  4. ```csharp
  5. public class LLamaDecodeError : RuntimeError, System.Runtime.Serialization.ISerializable
  6. ```
  7. Inheritance [Object](https://docs.microsoft.com/en-us/dotnet/api/system.object) → [Exception](https://docs.microsoft.com/en-us/dotnet/api/system.exception) → [RuntimeError](./llama.exceptions.runtimeerror.md) → [LLamaDecodeError](./llama.exceptions.llamadecodeerror.md)<br>
  8. Implements [ISerializable](https://docs.microsoft.com/en-us/dotnet/api/system.runtime.serialization.iserializable)
  9. ## Properties
  10. ### **ReturnCode**
  11. The return status code
  12. ```csharp
  13. public DecodeResult ReturnCode { get; }
  14. ```
  15. #### Property Value
  16. [DecodeResult](./llama.native.decoderesult.md)<br>
  17. ### **TargetSite**
  18. ```csharp
  19. public MethodBase TargetSite { get; }
  20. ```
  21. #### Property Value
  22. [MethodBase](https://docs.microsoft.com/en-us/dotnet/api/system.reflection.methodbase)<br>
  23. ### **Message**
  24. ```csharp
  25. public string Message { get; }
  26. ```
  27. #### Property Value
  28. [String](https://docs.microsoft.com/en-us/dotnet/api/system.string)<br>
  29. ### **Data**
  30. ```csharp
  31. public IDictionary Data { get; }
  32. ```
  33. #### Property Value
  34. [IDictionary](https://docs.microsoft.com/en-us/dotnet/api/system.collections.idictionary)<br>
  35. ### **InnerException**
  36. ```csharp
  37. public Exception InnerException { get; }
  38. ```
  39. #### Property Value
  40. [Exception](https://docs.microsoft.com/en-us/dotnet/api/system.exception)<br>
  41. ### **HelpLink**
  42. ```csharp
  43. public string HelpLink { get; set; }
  44. ```
  45. #### Property Value
  46. [String](https://docs.microsoft.com/en-us/dotnet/api/system.string)<br>
  47. ### **Source**
  48. ```csharp
  49. public string Source { get; set; }
  50. ```
  51. #### Property Value
  52. [String](https://docs.microsoft.com/en-us/dotnet/api/system.string)<br>
  53. ### **HResult**
  54. ```csharp
  55. public int HResult { get; set; }
  56. ```
  57. #### Property Value
  58. [Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32)<br>
  59. ### **StackTrace**
  60. ```csharp
  61. public string StackTrace { get; }
  62. ```
  63. #### Property Value
  64. [String](https://docs.microsoft.com/en-us/dotnet/api/system.string)<br>
  65. ## Constructors
  66. ### **LLamaDecodeError(DecodeResult)**
  67. ```csharp
  68. public LLamaDecodeError(DecodeResult returnCode)
  69. ```
  70. #### Parameters
  71. `returnCode` [DecodeResult](./llama.native.decoderesult.md)<br>