Unlimited Plugins, WordPress themes, videos & courses! Unlimited asset downloads! From $16.50/m
by
Lessons:14Length:2.3 hours
Crs 104289
  • Overview
  • Transcript

2.9 Forcing HTTP Errors

In this lesson, we'll introduce a minor fix that will improve on the file download feature. If the wrong user attempts to download a particular file, Grape will tell him otherwise. We'll use error handling to accomplish this.