# Functions
DurationInSeconds gets the time in seconds.
GetResultByError returns results according to the error.
# Constants
ResultError represents the result of error.
ResultSuccess represents the result of success.
ResultUnknown represents the result of unknown.