Back to product page
- Introduction
- Overview
- License Agrement
- Getting Started
- Objects
- Enumerations
- wodSSH
- Methods
- Properties
- AllocatePty
- Authentication
- Blocking
- ClientName
- Columns
- Command
- Compression
- DataOut
- DataReady
- Encoding
- Encryption
- EncryptionList
- ErrorText
- ExitSignal
- ExitStatus
- FIPS
- ForwardHost
- ForwardPort
- HMacList
- Hostname
- KeepAlives
- KeyExchangeList
- KeyForward
- KeySignatureList
- LastError
- Login
- MyHostname
- MyIP
- Notification
- Password
- Port
- PrivateKey
- Prompt
- Protocol
- ProxyHostname
- ProxyLogin
- ProxyPassword
- ProxyPort
- ProxyType
- RemoteIdentification
- Rows
- ShowStdErrorMessages
- State
- StateText
- StripANSI
- StripNull
- Subsystem
- TerminalSpeed
- TerminalType
- Timeout
- UseIPv6
- Version
- Events
- IwodSSHNotify
- How to get support?
- Technical information
- Fast notifications interface
- Error list
LastError property
Holds the last error returned by the method.
Type
An Integer value. Holds the last error returned.Syntax
- Basic
object.LastError
The LastError(object) syntax has these parts:
The LastError(object) syntax has these parts:
object | An expression evaluating to an object of type wodSSH. |
Remarks
When working in scripting environments, such as ASP or PowerBuilder, you are unable to retrieve information about possible error that was returned by previous executed method, you can use LastError property to read error that occurred.To get string representation of the error, you can use code like this:
Debug.Print wodSSH1.ErrorText(wodSSH1.LastError)