mirror of
https://github.com/zedeus/nitter.git
synced 2024-06-02 12:10:01 +00:00
3d91ae0256
Prevents occasional usage of tokens the very second they expire
16 lines
253 B
Nim
16 lines
253 B
Nim
from ../../types import Error
|
|
|
|
type
|
|
Url* = object
|
|
url*: string
|
|
expandedUrl*: string
|
|
displayUrl*: string
|
|
indices*: array[2, int]
|
|
|
|
ErrorObj* = object
|
|
code*: Error
|
|
message*: string
|
|
|
|
Errors* = object
|
|
errors*: seq[ErrorObj]
|