Để thảo luận và đưa ra ý kiến phản hồi về các sản phẩm của chúng tôi, hãy tham gia kênh Discord chính thức của Ad Manager trong máy chủ Cộng đồng quảng cáo và đo lường của Google.
[null,null,["Cập nhật lần gần đây nhất: 2025-08-21 UTC."],[[["\u003cp\u003e\u003ccode\u003eStreamError\u003c/code\u003e is a class used to define stream error data with specific error codes.\u003c/p\u003e\n"],["\u003cp\u003eError codes provide information about the type of error, such as initialization failures, invalid requests, or authorization issues.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eStreamError\u003c/code\u003e objects have \u003ccode\u003ecode\u003c/code\u003e and \u003ccode\u003emessage\u003c/code\u003e properties for describing the error.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eErrorCode\u003c/code\u003e is a static enumeration that lists possible error types for stream operations within the SDK.\u003c/p\u003e\n"]]],["The `StreamError` class handles stream error data, utilizing an `ErrorCode` enumeration. `ErrorCode` lists specific error types: `UNKNOWN_ERROR`, `INVALID_STREAM_REQUEST`, `STREAM_INITIALIZATION_FAILED`, `STREAM_INITIALIZATION_TIMEOUT`, and `STREAM_AUTHORIZATION_FAILED`. Each error type is associated with a specific cause, ranging from unknown issues to invalid requests, initialization problems, timeouts, and authorization failures. The `StreamError` class includes `code` and `message` properties.\n"],null,["# Class: StreamError\n\nStreamError\n===========\n\nclass public\n\nA class for specifying stream error data.\n\nEnumeration\n-----------\n\n### ErrorCode\n\nconstant static\n\nnumber\n\nList of error types reported by the SDK.\n\n| #### Value ||\n|-------------------------------|----------------------------------------------------------|\n| UNKNOWN_ERROR | An unexpected error occurred and the cause is not known. |\n| INVALID_STREAM_REQUEST | The provided stream request was invalid. |\n| STREAM_INITIALIZATION_FAILED | The requested stream failed to initialize |\n| STREAM_INITIALIZATION_TIMEOUT | The stream request timed out. |\n| STREAM_AUTHORIZATION_FAILED | The authorization for the stream request failed. |\n\nProperties\n----------\n\n### code\n\nconstant public\n\nnon-null ErrorCode\n\n### message\n\nconstant public\n\nstring\n\n### ErrorCode\n\nconstant static\n\nnumber\n\nList of error types reported by the SDK.\n\n| #### Value ||\n|-------------------------------|----------------------------------------------------------|\n| UNKNOWN_ERROR | An unexpected error occurred and the cause is not known. |\n| INVALID_STREAM_REQUEST | The provided stream request was invalid. |\n| STREAM_INITIALIZATION_FAILED | The requested stream failed to initialize |\n| STREAM_INITIALIZATION_TIMEOUT | The stream request timed out. |\n| STREAM_AUTHORIZATION_FAILED | The authorization for the stream request failed. |"]]