OfficeExtension.DebugInfo interface
Provides information about an error.
code | Error code string, such as "InvalidArgument". |
error |
The object type and property or method name (or similar information), if available. |
full |
All statements in the batch request (including any potentially-sensitive information that was specified in the request), if available. These statements may not match the code exactly as written, but will be a close approximation. |
inner |
Inner error, if applicable. |
message | The error message passed through from the Office application. |
statement | The statement that caused the error, if available. This statement will never contain any potentially sensitive data and may not match the code exactly as written, but will be a close approximation. |
surrounding |
The statements that closely precede and follow the statement that caused the error, if available. These statements will never contain any potentially sensitive data and may not match the code exactly as written, but will be a close approximation. |
Error code string, such as "InvalidArgument".
code: string;
Property Value
string
The object type and property or method name (or similar information), if available.
errorLocation?: string;
Property Value
string
All statements in the batch request (including any potentially-sensitive information that was specified in the request), if available.
These statements may not match the code exactly as written, but will be a close approximation.
fullStatements?: string[];
Property Value
string[]
Inner error, if applicable.
innerError?: DebugInfo | string;
Property Value
OfficeExtension.DebugInfo | string
The error message passed through from the Office application.
message: string;
Property Value
string
The statement that caused the error, if available.
This statement will never contain any potentially sensitive data and may not match the code exactly as written, but will be a close approximation.
statement?: string;
Property Value
string
The statements that closely precede and follow the statement that caused the error, if available.
These statements will never contain any potentially sensitive data and may not match the code exactly as written, but will be a close approximation.
surroundingStatements?: string[];
Property Value
string[]
Office Add-ins feedback
Office Add-ins is an open source project. Select a link to provide feedback: