ResourceParamsStatus
Special status codes that can be thrown from a resource's params or request function to indicate that the resource should transition to that status.
API
class ResourceParamsStatus extends Error {
constructor(msg: string): ResourceParamsStatus;
override name: string;
override message: string;
override stack?: string | undefined;
override cause?: unknown;
override zoneAwareStack?: string | undefined;
override originalStack?: string | undefined;
static readonly IDLE: ResourceParamsStatus;
static readonly LOADING: ResourceParamsStatus;
}
constructor
ResourceParamsStatus
@parammsg
string
@returns
ResourceParamsStatus
name
stringmessage
stringstack
string | undefinedcause
unknownzoneAwareStack
string | undefinedStack trace where extra frames have been removed and zone names added.
originalStack
string | undefinedOriginal stack trace with no modifications
IDLE
ResourceParamsStatusStatus code that transitions the resource to idle status.
LOADING
ResourceParamsStatusStatus code that transitions the resource to loading status.
Super-powered by Google ©2010–2025.
Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.
https://angular.dev/api/core/ResourceParamsStatus