@graphty/graphty-element / index / SourceIssueParams
Interface: SourceIssueParams ​
Defined in: graph-io/dist/src/sources/codes.d.ts:71
The params of each source issue code. Every URL is origin and path only. Experimental.
Properties ​
E_FETCH ​
readonlyE_FETCH:object
Defined in: graph-io/dist/src/sources/codes.d.ts:73
Another status, or an unreachable host.
status ​
readonlystatus:number|null
The HTTP status, or null when there was none.
url ​
readonlyurl:string
The address, origin and path only.
E_SOURCE_AUTH ​
readonlyE_SOURCE_AUTH:object
Defined in: graph-io/dist/src/sources/codes.d.ts:87
A credential is needed or was refused.
origin ​
readonlyorigin:string
The origin that asked for a credential.
scheme ​
readonlyscheme:string|null
The authentication scheme the server named, or null.
serverCode ​
readonlyserverCode:string|null
The service's own code, passed through, or null.
status ​
readonlystatus:number|null
The HTTP status, or null when there was none.
stored? ​
readonlyoptionalstored?:boolean
Set by graphty-element when the credential came from its store.
E_SOURCE_BLOCKED ​
readonlyE_SOURCE_BLOCKED:object
Defined in: graph-io/dist/src/sources/codes.d.ts:80
Refused by the browser.
cause ​
readonlycause:SourceBlockedCause
Why, as far as the page can tell.
url ​
readonlyurl:string
The address, origin and path only.
E_SOURCE_FORBIDDEN ​
readonlyE_SOURCE_FORBIDDEN:object
Defined in: graph-io/dist/src/sources/codes.d.ts:100
Not allowed.
serverCode ​
readonlyserverCode:string|null
The service's own code, passed through, or null.
status ​
readonlystatus:number|null
The HTTP status, or null when there was none.
E_SOURCE_INVALID ​
readonlyE_SOURCE_INVALID:object
Defined in: graph-io/dist/src/sources/codes.d.ts:193
A malformed source.
id ​
readonlyid:string
The source id.
reason ​
readonlyreason:string
Why, as a code.
E_SOURCE_LIMIT ​
readonlyE_SOURCE_LIMIT:object
Defined in: graph-io/dist/src/sources/codes.d.ts:172
A cap under onLimit "error".
limit ​
readonlylimit:string
The cap's option name (maxNodes, maxBytes, ...).
value ​
readonlyvalue:number
The value that reached the cap, or what was looked up.
E_SOURCE_NOT_A_GRAPH ​
readonlyE_SOURCE_NOT_A_GRAPH:object
Defined in: graph-io/dist/src/sources/codes.d.ts:137
Scalars only.
columns ​
readonlycolumns: readonlystring[]
The result's column names.
E_SOURCE_NOT_FOUND ​
readonlyE_SOURCE_NOT_FOUND:object
Defined in: graph-io/dist/src/sources/codes.d.ts:107
No such item.
value ​
readonlyvalue:string
The value that reached the cap, or what was looked up.
what ​
readonlywhat:string
What was looked up (url, network, node).
E_SOURCE_PARAM ​
readonlyE_SOURCE_PARAM:object
Defined in: graph-io/dist/src/sources/codes.d.ts:165
A bad parameter or option.
name ​
readonlyname:string
The parameter or option's name.
reason ​
readonlyreason:string
Why, as a code.
E_SOURCE_QUERY ​
readonlyE_SOURCE_QUERY:object
Defined in: graph-io/dist/src/sources/codes.d.ts:126
The query was refused.
column ​
readonlycolumn:number|null
The query column the server named, or null.
line ​
readonlyline:number|null
The query line the server named, or null.
serverCode ​
readonlyserverCode:string|null
The service's own code, passed through, or null.
serverMessage ​
readonlyserverMessage:string|null
The server's message from a JSON 4xx body, at most 500 characters, or null.
E_SOURCE_QUOTA ​
readonlyE_SOURCE_QUOTA:object
Defined in: graph-io/dist/src/sources/codes.d.ts:114
Out of quota.
retryAfterMs ​
readonlyretryAfterMs:number|null
How long the service asked to wait, when readable.
E_SOURCE_REDIRECT ​
readonlyE_SOURCE_REDIRECT:object
Defined in: graph-io/dist/src/sources/codes.d.ts:149
A redirect with a credential; to is null in a browser, which hides it.
from ​
readonlyfrom:string
Where the request was going, origin and path.
to ​
readonlyto:string|null
Where it was sent instead, or null when the browser hides it.
E_SOURCE_RESPONSE ​
readonlyE_SOURCE_RESPONSE:object
Defined in: graph-io/dist/src/sources/codes.d.ts:142
Wrong body.
contentType ​
readonlycontentType:string|null
The response's Content-Type, or null.
expected ​
readonlyexpected:string
What shape was expected (json, graph-file, link-header).
E_SOURCE_RUNTIME ​
readonlyE_SOURCE_RUNTIME:object
Defined in: graph-io/dist/src/sources/codes.d.ts:156
Cannot run here.
package? ​
readonlyoptionalpackage?:string
The optional package that is missing.
reason ​
readonlyreason:string
Why, as a code.
runtime ​
readonlyruntime:string
The runtime it ran in.
E_SOURCE_TIMEOUT ​
readonlyE_SOURCE_TIMEOUT:object
Defined in: graph-io/dist/src/sources/codes.d.ts:119
Took too long.
serverSide ​
readonlyserverSide:boolean
Whether the server timed the query out.
timeoutMs ​
readonlytimeoutMs:number|null
The time limit, or null for the server's own.
E_SOURCE_UNKNOWN ​
readonlyE_SOURCE_UNKNOWN:object
Defined in: graph-io/dist/src/sources/codes.d.ts:179
No such source.
id ​
readonlyid:string
The source id.
known ​
readonlyknown: readonlystring[]
The ids that are registered.
E_SOURCE_UNSUPPORTED ​
readonlyE_SOURCE_UNSUPPORTED:object
Defined in: graph-io/dist/src/sources/codes.d.ts:186
The source lacks the feature.
feature ​
readonlyfeature:string
The feature asked for.
needs? ​
readonlyoptionalneeds?:string
What it needs, when known.
W_SOURCE_AUTH ​
readonlyW_SOURCE_AUTH:object
Defined in: graph-io/dist/src/sources/codes.d.ts:207
A later page needs a credential.
origin ​
readonlyorigin:string
The origin that asked for a credential.
status ​
readonlystatus:number|null
The HTTP status, or null when there was none.
W_SOURCE_LIMIT ​
readonlyW_SOURCE_LIMIT:object
Defined in: graph-io/dist/src/sources/codes.d.ts:200
A cap stopped the load.
limit ​
readonlylimit:string
The cap's option name (maxNodes, maxBytes, ...).
value ​
readonlyvalue:number
The value that reached the cap, or what was looked up.
W_SOURCE_RETRIED ​
readonlyW_SOURCE_RETRIED:object
Defined in: graph-io/dist/src/sources/codes.d.ts:214
Retried.
attempts ​
readonlyattempts:number
How many attempts were made.
statuses ​
readonlystatuses: readonly (number|null)[]
The status of each failed attempt, null for a network failure.
W_SOURCE_VALUE ​
readonlyW_SOURCE_VALUE:object
Defined in: graph-io/dist/src/sources/codes.d.ts:221
A value with no dtype.
as ​
readonlyas:string
What the value was kept as.
column ​
readonlycolumn:string
The column (of the query, or of the graph) involved.
type ​
readonlytype:string
The server's value type.