Updated Documentations to V1.0
This commit is contained in:
1 parent
668ef6a93e
commit
9f4b49ca4f
26 files changed
+467
-544
No files matched your search
@@ -0,0 +1,19 @@
|
||||
# Authorization
|
||||
|
||||
A class that represents authorization exceptions.
|
||||
|
||||
:::info Note
|
||||
|
||||
This class is not meant to be used directly. It is used in the [MarcSyncClient](../classes/MarcSyncClient) class.
|
||||
|
||||
:::
|
||||
|
||||
:::caution Exceptions
|
||||
|
||||
Exceptions are cachable, meaning that you can use a `pcall` to catch them.
|
||||
|
||||
:::
|
||||
|
||||
## InvalidAccessToken
|
||||
|
||||
Thrown when the `accessToken` used to create the [MarcSyncClient](../classes/MarcSyncClient) is invalid.
|
||||
@@ -0,0 +1,23 @@
|
||||
# Collection
|
||||
|
||||
A class that represents collection exceptions.
|
||||
|
||||
:::info Note
|
||||
|
||||
This class is not meant to be used directly. It is used in the [MarcSyncClient](../classes/MarcSyncClient) class.
|
||||
|
||||
:::
|
||||
|
||||
:::caution Exceptions
|
||||
|
||||
Exceptions are cachable, meaning that you can use a `pcall` to catch them.
|
||||
|
||||
:::
|
||||
|
||||
## CollectionNotFound
|
||||
|
||||
Thrown when the `collectionName` does not exist.
|
||||
|
||||
## CollectionAlreadyExists
|
||||
|
||||
Thrown when the `collectionName` already exists.
|
||||
@@ -0,0 +1,19 @@
|
||||
# Entry
|
||||
|
||||
A class that represents entry exceptions.
|
||||
|
||||
:::info Note
|
||||
|
||||
This class is not meant to be used directly. It is used in the [MarcSyncClient](../classes/MarcSyncClient) class.
|
||||
|
||||
:::
|
||||
|
||||
:::caution Exceptions
|
||||
|
||||
Exceptions are cachable, meaning that you can use a `pcall` to catch them.
|
||||
|
||||
:::
|
||||
|
||||
## InvalidEntryData
|
||||
|
||||
Thrown when the [EntryData](../types/EntryData) is invalid.
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"label": "MarcSync Exceptions",
|
||||
"position": 4,
|
||||
"link": {
|
||||
"type": "generated-index",
|
||||
"description": "A list of all Exception Classes in the MarcSync library."
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user