API > Introduction
This part introduces all the fetching data utilities provided by the package.
All the functions in this section share the same return format.
interface RequestError {
error: string;
message: string | string[];
statusCode: number;
}
interface RequestResult<ResultType> {
data: null | ResultType;
error: null | RequestError;
}