Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

155
Views
identifying stack trace error based on condition

I am trying to show a different message when the users are getting local storage error. For both android and ios users who access the site. So the below are the two different error messages we are getting when html5 storage is turned off.

SecurityError: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.

SecurityError: The operation is insecure.

So how can i identify that the security error is only related to html5 (local storage) so that i can show user a message. So apart from this local storage error it should be normal. Is there any status code or something which i can get the difference

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!