OfficeExtension.DebugInfo interface
Provides information about an error.
Properties
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. |
Property Details
code
Error code string, such as "InvalidArgument".
code: string;
Property Value
string
errorLocation
The object type and property or method name (or similar information), if available.
errorLocation?: string;
Property Value
string
fullStatements
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[]
innerError
Inner error, if applicable.
innerError?: DebugInfo | string;
Property Value
OfficeExtension.DebugInfo | string
message
The error message passed through from the Office application.
message: string;
Property Value
string
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.
statement?: string;
Property Value
string
surroundingStatements
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