Error handling in a network page generation environment
AssigneeAmazon Technologies, Inc.
InventorsPrashant J. Thakare, Andrew S. Huntwork, Jeremy Boynes, Pravi Garg, Shashank Shekhar
Life of this patent
Estimating the term…
Abstract
Disclosed are various embodiments that facilitate error handling in a network page generation environment. A request for a network page is obtained from a client. The network page is associated with a network site hosted by a hosting provider on behalf of a customer. Page generation code supplied by the customer is executed by a framework in response to the request. The page generation code is configured to generate at least a portion of the network page. A customized error network page is sent to the client in response to determining that an error has occurred in the framework that executes the page generation code.
Claims24
A non-transitory computer-readable medium embodying at least one program executable in at least one computing device, the at least one program comprising:
- code that, in response to receiving a request for a network page from a client, aggregates data from a plurality of data sources for use by page generation code supplied by a customer, the network page being associated with a network site hosted by a hosting provider on behalf of the customer;
- code that executes the page generation code in response to the request, the page generation code being configured to generate at least a portion of the network page, the code that executes being configured to provide the data that has been aggregated to the page generation code as a plurality of predefined variables, the code that executes the page generation code being under control of the hosting provider;
- code that executes error page generation code supplied by the customer to generate an error network page in response to determining that an internal server error has occurred, the error network page being customized for the network site by the customer;
- code that sends the error network page to the client;
- and
- wherein execution of the page generation code is terminated in response to the error.
A system, comprising:
- at least one computing device;
- and
- at least one application executable in the at least one computing device, the at least one application comprising:
- logic that, in response to receiving a request for a network page from a client, executes page generation code supplied by a customer in response to the request, the page generation code being configured to generate at least a portion of the network page, the network page being associated with a network site hosted by a hosting provider on behalf of the customer;
- and
- logic that sends an error network page to the client in response to determining that an error has occurred in the logic that executes the page generation code, the error network page being customized for the network site by the customer.
A method, comprising:
- receiving, via at least one of one or more computing devices, a request for a network page from a client, the network page being associated with a network site hosted by a hosting provider on behalf of a customer;
- aggregating, via at least one of the one or more computing devices, data from a plurality of data sources for use by page generation code supplied by the customer, the page generation code being configured to generate at least a portion of the network page;
- executing, via at least one of the one or more computing devices, the page generation code in response to the request;
- and
- providing, via at least one of the one or more computing devices, an error indication to the page generation code in response to determining that an error has occurred while performing the aggregating.
Dependencies are inferred from the claim text.